Skip to content

📗 VuePress v2 plugin provides a global component wrapping Mermaid

License

Notifications You must be signed in to change notification settings

azat-io/vuepress-plugin-mermaid-wrapper

Repository files navigation

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.

About

📗 VuePress v2 plugin provides a global component wrapping Mermaid

Resources

License

Stars

Watchers

Forks

Packages

No packages published