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

1.11.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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.11.0
    52
    • latest

Version History

Package Sidebar

Install

npm i vuepress-plugin-mermaid-wrapper

Weekly Downloads

65

Version

1.11.0

License

MIT

Unpacked Size

6.23 kB

Total Files

10

Last publish

Collaborators

  • azat-io