bisheng-plugin-mermaid

0.0.4 • Public • Published

bisheng-plugin-mermaid

This is a Bisheng plugin to generate Mermaid diagrams.

Install

Install with npm:

npm install --save bisheng-plugin-mermaid

or with yarn:

yarn add bisheng-plugin-mermaid

Plugin should be put in configuraion of theme in use:

// See example/_theme/lib/index.js
module.exports = {
  plugins: [
    'bisheng-plugin-mermaid',
  ],
}

Usage

In markdown:

```mermaid
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[Car]
```

would be rendered as

screenshot

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i bisheng-plugin-mermaid

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

62.3 kB

Total Files

32

Last publish

Collaborators

  • yct21