gitbook-plugin-mermaid-gb3

2.1.0 • 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?

You can use install via NPM:

$ npm install gitbook-plugin-mermaid-gb3

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

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

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;
```

/gitbook-plugin-mermaid-gb3/

    Package Sidebar

    Install

    npm i gitbook-plugin-mermaid-gb3

    Weekly Downloads

    62

    Version

    2.1.0

    License

    ISC

    Last publish

    Collaborators

    • chriswessels