Diagrams
Diagrams can be rendered using Mermaid in a code block. rise4fun enables diagrams by default.
Usage
Add a code block with language mermaid
:
Example Mermaid diagram
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
http://localhost:3000
See the Mermaid syntax documentation for more information on the Mermaid syntax and the Docusaurus Diagram documentation.
Configuration
To disable Math, use with mermaid: false
in rise4fun configuration.