Skip to content
This repository has been archived by the owner on Sep 15, 2018. It is now read-only.

liushilive/gitbook-plugin-mermaid-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mermaid plugin for GitBook

Project migrated t:https://github.com/liushilive/gitbook-plugin-books

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

About

gitbook-plugin-mermaid-flow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published