Diagrams as source

Preview Mermaid diagrams inside technical Markdown.

MDBuild renders Mermaid locally in the browser, reports syntax failures beside other document diagnostics, and embeds sanitized SVG data into portable HTML exports.

  • Live Mermaid preview from fenced code blocks
  • Line-aware parse and render diagnostics
  • Strict Mermaid security mode
  • Self-contained SVG data in HTML builds
  • Stale asynchronous renders cannot replace newer edits