| title | Mermaid | ||
|---|---|---|---|
| description | Create diagrams from a code fence | ||
| product | Context7 | ||
| section | docs | ||
| source_url | https://context7.com/docs/docs7/components/mermaid | ||
| fetched | 2026-09-26 | ||
| tags |
|
Create diagrams from a code fence
Use the mermaid language on a fenced code block.
```mermaid
graph LR
A[Write] --> B[Preview] --> C[Publish]
```Docs7 keeps the source readable in Markdown exports.
graph LR
A[Write] --> B[Preview] --> C[Publish]