MD Mermaid Viewer is a lightweight VS Code extension for previewing Markdown and Mermaid content directly inside the editor environment. It is designed to feel similar to the desktop viewer while staying native to VS Code workflows.
Features
Open .md, .markdown, .mmd, and .mermaid files
Render Markdown with HTML-friendly formatting
Render Mermaid flowcharts and diagrams
Paste clipboard content and preview it immediately
Use the current editor file or open a file from disk
Respect VS Code light and dark themes
Copy code blocks with a one-click copy button
Support Ctrl/Cmd + mouse wheel and Ctrl/Cmd +/- zoom controls
How to use
Open a file
Right-click a supported file in the Explorer and choose MD Mermaid Viewer: Open Preview
Or run MD Mermaid Viewer: Open File from the Command Palette
Open the current file
Use MD Mermaid Viewer: Open Current File
Paste from clipboard
Run MD Mermaid Viewer: Paste from Clipboard
The current clipboard content is rendered as a preview panel
Requirements
VS Code 1.85.0 or newer
No extra dependencies required
Release Notes
0.1.0
Initial public release
Markdown preview support
Mermaid rendering support
Clipboard paste preview
Context menu support for .md, .markdown, .mmd, and .mermaid files