vuepress-plugin-mermaid-wrapper
v1.16.0
Published
VuePress plugin for using Mermaid
Downloads
167
Maintainers
Readme
vuepress-plugin-mermaid-wrapper
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
Type:
object
Required:
false
Details:
Style customization of Mermaid theme. See Mermaid theme variables.
Contribution
Pull requests are welcome.