I’m an avid Mermaid user. I work with everything from simple to complex charts, and they don’t always fit neatly within Mermaid code block syntax. I like to keep some of them in separate files that can be versioned, shared, or viewed directly on GitHub.
Obsidian supports Mermaid out of the box, but only inside individual notes. Here’s why I created the Mermaid View plugin: GitHub - weppos/obsidian-mermaid-view: Obsidian plugin for viewing Mermaid files in views.
This plugin instead treats Mermaid files as first-class citizens.
Key features:
- Native support for Mermaid files stored as
.mermaidor.mmdfiles (configurable) - Ability to view and edit Mermaid files directly in Obsidian, with a split mode that lets you edit and see changes in real time
- Navigate large diagrams with mouse wheel zoom and click-drag panning and pinch-to-zoom.
- Include mermaid diagrams in other notes using standard embed syntax
This is fairly new, and I’m sharing it to gather feedback.
I’ve submitted it to the official Community Plugins repository, but the backlog is quite long and it may take weeks to be accepted. In the meantime, if you want to give it a try, the best option is to head over to the Releases page and download the latest version.