Diagrams & Docs · Offline Guide

Edit and preview Mermaid diagrams offline in Cursor and VS Code

Write architecture flowcharts, sequence diagrams, ERDs, and state machines in .mmd or Markdown with instant side-by-side preview. No sign-in, no cloud rendering, and instant SVG or PNG export.

Free core · Zero telemetry · Works offline · .mmd .mermaid .md

One offline key covers all 176 Zovo extensions. Team of 5 ($59 once) →

Extension ID
zovo.mermaid-viewer
Open VSX Downloads
3,919
VS Code Installs
116
Version
0.3.15
Editors
VS Code, Cursor, Windsurf, VSCodium
CLI install snippet (VS Code · Cursor · Windsurf)
code --install-extension zovo.mermaid-viewer
cursor --install-extension zovo.mermaid-viewer
windsurf --install-extension zovo.mermaid-viewer

Why engineering teams keep Mermaid diagrams local in Git

  • Preview Mermaid blocks inside README.md, ADRs, and RFCs as you or Cursor AI edit them.
  • Avoid pasting proprietary system architecture into public web-based Mermaid playgrounds.
  • Catch syntax errors immediately with exact error line numbers and built-in starter templates.
  • Keep rendered SVG/PNG assets in sync automatically on every save with Zovo Pro.

Step-by-step setup

Takes under 60 seconds in VS Code, Cursor, Windsurf, or VSCodium.

  1. 1

    Install Mermaid Preview & Live Editor

    Use the 1-click button for VS Code, Cursor, or Windsurf below, or install zovo.mermaid-viewer via CLI.

  2. 2

    Open a .mmd file or Markdown document

    Open any .mmd file or click Preview above a ```mermaid code fence inside a Markdown file.

  3. 3

    Edit with live preview and completion

    Pan, zoom, and switch light/dark themes while editing. Syntax errors highlight the exact failing line.

  4. 4

    Export diagrams for docs and reviews

    Export individual diagrams as SVG or PNG for free, or turn on Zovo Pro for multi-diagram PDFs, full-workspace export, and export on save.

Free vs Zovo Pro

Every core viewer stays free forever. Try each Pro tool once locally before paying.

Capability Free Core Zovo Pro ($19 / $59 Team)
Live side-by-side preview for .mmd and Markdown blocks Included (Free) Included
Autocomplete, error line numbers, and diagram templates Included (Free) Included
Export single diagram to SVG or PNG offline Included (Free) Included
Export every diagram in a file to one titled PDF 1 free local try Unlimited offline
Export all diagrams in workspace preserving folder layout 1 free local try Unlimited offline
Export on save (auto-update SVG/PNG next to source) 1 free local try Unlimited offline

Common questions

Does Mermaid Preview work inside Markdown files as well as .mmd files?

Yes. It renders standalone .mmd files and ```mermaid fenced code blocks inside Markdown files side by side.

Does it require an internet connection or cloud API?

No. Mermaid rendering and SVG, PNG, and PDF exports run 100% locally with zero telemetry.

How does Export on Save work for documentation repositories?

With Zovo Pro enabled, saving a .mmd or Markdown file automatically updates matching SVG or PNG files next to the source so documentation stays current in Git.

View all 45 guides →