addozhang284 downloadsExport rendered mermaid diagrams as PNG images with configurable resolution.
Export rendered mermaid diagrams as PNG images directly from Obsidian.
main.js, manifest.json, and styles.css from the latest release<vault>/.obsidian/plugins/mermaid-exporter/| Setting | Default | Description |
|---|---|---|
| Image scale | 2 | Resolution multiplier for exported PNG (1–4x) |
git clone https://github.com/addozhang/obsidian-mermaid-exporter.git
cd obsidian-mermaid-exporter
npm install
npm run dev # watch mode
npm run build # production build
To test locally, symlink or copy main.js, manifest.json, and styles.css into your vault's .obsidian/plugins/mermaid-exporter/ directory.
See CONTRIBUTING.md for development setup, bug reports, and pull request guidelines.
MIT — Addo Zhang