vuepress-plugin-mermaid-next
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.9 • Public • Published

    vuepress-plugin-mermaid-next

    This plugin is only for vuepress-next

    Usage

    Install

    # use npm
    npm install mermaid vuepress-plugin-mermaid-next
    
    # use yarn
    yarn add mermaid vuepress-plugin-mermaid-next

    .vuepress/config.ts or (config.js)

    export default {
      // ...
      plugins: [
        // ...other plugins
        ['mermaid-next', {}]
      ]
      // ...
    }
    // or 
    import MermaidPlugin from 'vuepress-plugin-mermaid-next'
    export default {
      plugins: [
        MermaidPlugin({
          // *optional, plugin option
        })
      ]
    }

    Custormize

    You can config mermaid by using plugin settings.

    The settings you configured will be use in mermaid.initialize()

    Fully configuration fields can be find in Mermaid - Configuration

    Install

    npm i vuepress-plugin-mermaid-next

    DownloadsWeekly Downloads

    53

    Version

    0.1.9

    License

    MIT

    Unpacked Size

    7.31 kB

    Total Files

    11

    Last publish

    Collaborators

    • ziho