Description

Draws a Mermaid diagram — flowchart, sequence, class, state, ER, gantt and more.

Demo

flowchart LR
  A[Start] --> B{Ready?}
  B -->|Yes| C[Ship it]
  B -->|No| A

Parameters

Parameter Default Value Possible / Example Values
caption <none> Foo Bar
theme auto auto, default, dark, neutral or forest
align left left or center

Body

The body consists of a Mermaid code block.

Check out the Mermaid Syntax Reference for more details.

Default Code

::block-diagram
```mermaid
flowchart LR
  A[Start] --> B{Ready?}
  B -->|Yes| C[Ship it]
  B -->|No| A
```
::