Plugin for HonKit which renders Mermaid diagrams and flow charts detected in the book markdown and asciidoc.
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"]
}
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;
```