Draws a Mermaid diagram — flowchart, sequence, class, state, ER, gantt and more.
flowchart LR
A[Start] --> B{Ready?}
B -->|Yes| C[Ship it]
B -->|No| A
| Parameter | Default Value | Possible / Example Values |
|---|---|---|
caption |
<none> |
Foo Bar |
theme |
auto |
auto, default, dark, neutral or forest |
align |
left |
left or center |
The body consists of a Mermaid code block.
Check out the Mermaid Syntax Reference for more details.
::block-diagram
```mermaid
flowchart LR
A[Start] --> B{Ready?}
B -->|Yes| C[Ship it]
B -->|No| A
```
::