honkit-plugin-mermaid-md-adoc
v0.0.8
Published
Plugin for honkit which renders Mermaid flow from markdown.
Downloads
804
Readme
Mermaid plugin for HonKit
Plugin for HonKit which renders Mermaid diagrams and flow charts detected in the book markdown and asciidoc.
How to install it?
You can use install via npm:
npm install honkit-plugin-mermaid-md-adoc
And use it for your book with in the book.json:
{
"plugins": ["mermaid-md-adoc"]
}
How to use it?
Just put the code into fenced code block and tag it mermaid key word like this:
```mermaid
graph
A --> B;
A --> C;
B --> D;
C --> D;
```