Skip to content

hypc/gitbook-plugin-mermaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitbook-plugin-mermaid

mermaid for gitbook.

Install

You can install via npm:

$ npm install https://github.com/hypc/gitbook-plugin-mermaid.git

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

{
    "plugins": [{
        "name": "mermaid",
        "version": "git+https://github.com/hypc/gitbook-plugin-mermaid.git"
    }]
}

Usage

You can use it like this:

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

And you can get more synax in here.