← All features

Mermaid diagrams

Render Mermaid diagrams inline in Markdown and in standalone .mmd files, with live linting and export to SVG / PNG / PDF.

Mermaid diagrams render inline. A fenced ```mermaid block in Markdown becomes a diagram in the preview, and standalone .mmd files get the same 3-mode preview.

Rendering uses the mmdc CLI (rasterized faithfully and cached per diagram), with live linting via maid that underlines errors with precise line/column messages as you type. Export a diagram to SVG / PNG / PDF.

Off by default. Enable it under Settings → Mermaid (point it at your mmdc/maid, or use npx).