Create Mermaid diagrams in image format on-the-fly and save them.

/Draw mermaid diagram.{{renderer :mermaid_66b0fcff-ea9e-4909-9aab-554186001e73, 3}}To enable "Save as Image" functionality, this plugin converts the raw SVG into a standard PNG. Browser security restrictions prevent this conversion if the SVG contains HTML code (known as foreignObject tags).
The following diagram types rely on foreignObject and will not render with this plugin:
- ❌ Mindmaps
- ❌ Timelines
- ❌ Class Diagrams (if they use complex text wrapping)
- ❌ Flowcharts using HTML labels (e.g., <b>Bold Text</b>)
If the above are required, you may try the other Mermaid plugin in the marketplace.
If you enjoy this plugin, please consider supporting the development!
Issues are welcome. If you find a bug, please open an issue. Pull requests are not accepted at the moment as I am not able to commit to reviewing them in a timely fashion.
$ claude mcp add logseq-mermaid-plugin \
-- python -m otcore.mcp_server <graph>