Table of Contents
Mermaid Plugin
The Mermaid Plugin enables rendering of diagrams and flowcharts using Mermaid.js.
How it works
- It detects Markdown code blocks tagged with
mermaid. - It wraps the content in a
<div class="mermaid">. - It automatically injects the necessary Mermaid.js
<script>at the end of the page.
Usage
In your Markdown file:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```Configuration
Enable in fluid.cfg:
[plugins]
enabled=..., mermaid