gitbook-plugin-mermaid-flow

0.0.7 • Public • Published

Mermaid plugin for GitBook

Plugin for GitBook 3 which renders Mermaid diagrams and flow charts detected in the book markdown.

How to install it

npm install -g mermaid.cli

And use it for your book with in the book.json:

{
  "plugins": ["mermaid-flow"]
}

How to use it

Just put the code into fenced code block and tag it mermaid key word like this:

```mermaid
graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;
```

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-mermaid-flow

Weekly Downloads

3

Version

0.0.7

License

Apache-2.0

Unpacked Size

870 kB

Total Files

6

Last publish

Collaborators

  • liushilive