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

1.9.0 • Public • Published

vuepress-plugin-mermaid-wrapper

VuePress

Version Downloads

VuePress v2 plugin provides a global component wrapping Mermaid. Mermaid is a JavaScript library which lets you create diagrams and visualizations using text and code.

Installation

npm install --save vuepress-plugin-mermaid-wrapper

Usage

Add plugin to your VuePress config:

import { mermaidWrapperPlugin } from 'vuepress-plugin-mermaid-wrapper'

export default {
  plugins: [
    mermaidWrapperPlugin({
      /* options */
    }),
  ],
}

That's all. You can use Mermaid in you Markdown files:

Options

themeVariables

Contribution

Pull requests are welcome.

Package Sidebar

Install

npm i vuepress-plugin-mermaid-wrapper

Weekly Downloads

14

Version

1.9.0

License

MIT

Unpacked Size

6.22 kB

Total Files

10

Last publish

Collaborators

  • azat-io