Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Mermaid StudioNew to Visual Studio Code? Get it now.
Mermaid Studio

Mermaid Studio

Daymian

|
1 install
| (0) | Free
A full Mermaid authoring toolkit for VS Code, with live preview, smart snippets, Markdown support, export, docs, and a visual builder.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mermaid Studio

Mermaid Studio

A Mermaid toolkit for VS Code with preview, snippets, export, examples, and a Builder for supported diagram families.

VS Code Marketplace · GitHub Repository · Learn Mermaid

Quick start

  1. Open a .mmd, .mermaid, or Markdown file.
  2. Type /flow, /sequence, or /snippet.
  3. Run Mermaid Studio: Open Preview.
  4. Use the Builder sidebar when you want structured editing for flowcharts or sequence diagrams.

Features

Feature What it gives you Available in
Authoring Mermaid support for .mmd, .mermaid, .md, and .markdown, plus formatting and diagnostics Mermaid + Markdown
Snippets & slash insertion Fast insertion with slash commands, snippet browser, favorites, and recent snippets Mermaid + Markdown
Preview & export Mermaid file preview, Markdown block preview, mixed .mmd support, and SVG export Preview workflows
Builder sidebar Structured editing for supported diagram families with presets, forms, import support, and a visual overview Flowchart + Sequence
References & learning Rich hover help, bundled examples, and command-driven reference/example navigation Mermaid + Markdown

Diagram support

✅ = targeted/strong support in Mermaid Studio
◐ = source-first or lighter assist coverage
— = no dedicated feature beyond general Mermaid editing/runtime support

Diagram family Snippets / insertion Preview SVG export Builder
Flowchart ✅ ✅ ✅ ✅
Sequence ✅ ✅ ✅ ✅
Class ✅ ✅ ✅ —
State ✅ ✅ ✅ —
ER ✅ ✅ ✅ —
Gantt ✅ ✅ ✅ —
GitGraph ✅ ✅ ✅ —
Architecture ✅ ✅ ✅ —
Mindmap ✅ ✅ ✅ —
Journey ◐ ✅ ✅ —
Pie ◐ ✅ ✅ —
Requirement ◐ ✅ ✅ —
Timeline ◐ ✅ ✅ —
Kanban ◐ ✅ ✅ —
Quadrant chart ◐ ✅ ✅ —
XY chart ◐ ✅ ✅ —
Sankey ◐ ✅ ✅ —
Block ◐ ✅ ✅ —
Packet ◐ ✅ ✅ —
Treemap ◐ ✅ ✅ —
ZenUML ◐ ✅ ✅ —
C4 ◐ ✅ ✅ —

Screenshots

Slash snippets

Quick insertion for common Mermaid starters and patterns.

Slash snippets

Builder sidebar and live preview

Structured flowchart and sequence editing in a side panel with presets, quick-add forms, import support, and a visual overview, alongside live preview.

Builder sidebar and live preview

Commands

Common commands

  • Mermaid Studio: New Diagram
  • Mermaid Studio: Open Preview
  • Mermaid Studio: Preview Mermaid Block in Markdown
  • Mermaid Studio: Open Builder
  • Mermaid Studio: Insert Mermaid Snippet
  • Mermaid Studio: Export Preview as SVG

Additional commands

  • Mermaid Studio: Format Mermaid Document
  • Mermaid Studio: Extract Mermaid Block to File
  • Mermaid Studio: Open Reference for Symbol Under Cursor
  • Mermaid Studio: Open Example for Current Diagram Type

Settings

Setting Purpose Default
mermaidstudio.markdownFenceLanguage Fence language used when Mermaid is inserted into Markdown mermaid
mermaidstudio.insertMarkdownFencesByDefault Wrap Mermaid output in Markdown fenced blocks when working in Markdown files true
mermaidstudio.preview.autoRefresh Automatically refresh Mermaid previews when source text changes true
mermaidstudio.preview.debounceMs Debounce delay for live preview refreshes 250

Known limitations

  • Builder import support is intentionally scoped and is not a full Mermaid parser.
  • Visual editing depth is strongest for flowcharts and sequence diagrams.
  • Mermaid family behavior can still vary, especially for advanced syntax.
  • TextMate grammar highlighting is broad, but Mermaid syntax is large and evolving, so some constructs may still receive lighter highlighting than others.

Local development

If you want to build or test Mermaid Studio locally, you will need a standard Node.js / npm workflow.

Minimum useful commands:

npm install
npm test
npm run package

If those commands are unfamiliar, learn the basics of:

  • cloning a Git repository
  • installing Node.js and npm dependencies
  • running npm scripts from a terminal

For security-sensitive issues, please see:

  • SECURITY.md

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft