Roadie Now Supports Mermaid Diagrams in Techdocs
We have added support for mermaid syntax in techdocs. If you would like to use mermaid diagrams, you can add the markdown_inline_mermaid
extension.
site_name: 'mermaid-demo'
site_description: 'Mermaid Demo'
markdown_extensions:
- markdown_inline_mermaid
nav:
- Index: 'index.md'
Then in your markdown docs you can add a mermaid diagram.
```mermaid
graph LR
A[Start] --> B{Error?};
B -->|Yes| C[Hmm...];
C --> D[Debug];
D --> B;
B ---->|No| E[Yay!];
```
You can read more about the mermaid syntax here: https://mermaid-js.github.io/mermaid/#/