Skip to content

gotoariel/gitbook-plugin-mermaid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mermaid plugin for GitBook

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

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

About

Updating the gitbook mermaid plugin for gb3 and mermaid 8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.4%
  • HTML 44.6%