Mermaid diagrams now render in M7 Docs

A robot pins three connected flowchart tiles above a document on a workbench.

M7 Docs now renders Mermaid flowcharts and sequence diagrams from Markdown. You can keep a deployment flow or an API interaction in the same file as the instructions that explain it. When the document changes, you can review the diagram source in the same diff.

Add a diagram

Put your diagram in a fenced code block marked mermaid. Here’s a small flowchart you can paste into a document.

```mermaid
flowchart LR
    Draft[Write Markdown] --> Review[Review the document]
    Review --> Release[Publish]
```
Mermaid flowchartWrite MarkdownReview the documentPublish

The Document API converts the Markdown to HTML, then renders supported Mermaid blocks as inline SVG. The SVG comes down with the page, so readers don’t need a browser-side Mermaid renderer. If a block uses unsupported syntax, the source stays visible as code.

See the live Mermaid examples in M7 Docs, or open their Markdown source.