@vuepress-denaro/vuepress-plugin-flowchart
v1.3.1
Published
Rapid flowchart development plugin for vuepress.vuepress 的快速流程图开发插件.
Downloads
11
Maintainers
Readme
vuepress-plugin-flowchart
:tada: Rapid flowchart development plugin for vuepress.vuepress 的快速流程图开发插件.
Usage
- Install
# npm
npm install @vuepress-denaro/vuepress-plugin-flowchart
# yarn
yarn add @vuepress-denaro/vuepress-plugin-flowchart
- Update
plugins
in.vuepress/config.js
or.vuepress/config.ts
js
const {
flowchartPlugin,
} = require('@vuepress-denaro/vuepress-plugin-flowchart')
module.exports = {
plugins: [
moefyCanvasPlugin({
openMarker: '@flowstart',
closeMarker: '@flowend',
}),
],
}
ts
import { flowchartPlugin } from '@vuepress-denaro/vuepress-plugin-flowchart'
import { defineUserConfig } from '@vuepress/cli'
export default defineUserConfig({
plugins: [
flowchartPlugin({
openMarker: '@flowstart',
closeMarker: '@flowend',
}),
],
})
Configurations
openMarker
- type:
string
- default: ````mermaid`
setting open marker.
closeMarker
- type:
string
- default: `````