weppos5k downloadsHandle Mermaid files as first-class citizens, rendering them fullscreen when opened.
An Obsidian plugin that treats Mermaid files as first-class citizens.
Mermaid View is a type of view you can use to view Mermaid files and render them as interactive diagrams, similar to how Canvas work.
.mermaid and .mmd files directly in Obsidian, just like markdown or canvas files.![[diagram.mermaid]]
Mermaid diagrams can be rendered in three ways within Obsidian. This plugin enhances all of them:
| Rendering method | Export PNG/SVG | Pan/Zoom |
|---|---|---|
```mermaid ` code block |
✅ | ✅ |
![[file.mermaid]] embed |
✅ | ✅ |
Standalone .mermaid file |
✅ | ✅ |
View your diagrams full-screen with pan and zoom support.

Edit with a side-by-side code editor and live preview.

Navigate large diagrams with mouse wheel zoom and click-drag panning. Double-click to reset the view.

Include diagrams in your notes using standard Obsidian embed syntax. The autocomplete suggests mermaid files just like any other note.

The diagram renders inline within your note.

graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Do something]
B -->|No| D[Do something else]
C --> E[End]
D --> E
More information on Mermaid View features and usage.
.mermaid (or .mmd) file or use the "New mermaid" context menu optionInstall Mermaid View from the official Obsidian Community plugins listing, or use one of the manual methods below.
mermaid-view.zip from the desired versionmermaid-view folder into your vault's .obsidian/plugins/ folder (resulting in .obsidian/plugins/mermaid-view/)Contributions are welcome! Please feel free to submit issues and pull requests. See CONTRIBUTING.md for guidelines.
See CHANGELOG.md for details.