VS Code Integration — Diagram Without Leaving Your Editor

Write Mermaid in .mmd files, preview instantly, keep diagrams in your repo.

Developers live in the editor, so diagrams should live there too. Keep .mmd files in your repository, preview them with the same Mermaid engine that powers Mermaid Chart, and publish polished versions to the web app for collaboration and export.

.mmd files in repo

Diagrams versioned and reviewed like code.

Instant preview

Side-by-side live rendering as you type.

Sync to web app

Open the same diagram in Mermaid Chart to collaborate.

Get started

Install a Mermaid preview extension from the VS Code marketplace, then open any .mmd file and start the preview. Log in to Mermaid Chart to sync diagrams across devices and teammates.

Why developers first

Diagram as code fits the developer workflow: small text sources, Git diffs, pull-request reviews and CI-friendly rendering.

Ready to try it?

Free plan includes the full editor — no credit card required.

Create Your First Diagram Free