Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Mermaid Exporter

addozhangaddozhang284 downloads

Export rendered mermaid diagrams as PNG images with configurable resolution.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

Export rendered mermaid diagrams as PNG images directly from Obsidian.

Features

  • WYSIWYG Export — Exports the diagram exactly as Obsidian renders it, including your current theme
  • Native Save Dialog — Uses the system file picker to save PNG files anywhere on disk
  • Configurable Resolution — Scale factor from 1x to 4x (default 2x) for crisp high-DPI images
  • Seamless UI — Export button appears next to the native "Edit this block" button on hover
  • Works in Both Modes — Live Preview and Reading mode

Installation

From Community Plugins

  1. Open Settings → Community Plugins → Browse
  2. Search for Mermaid Exporter
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create folder: <vault>/.obsidian/plugins/mermaid-exporter/
  3. Copy the three files into that folder
  4. Reload Obsidian and enable the plugin in Settings → Community Plugins

Usage

  1. Create a mermaid code block in any note
  2. Hover over the rendered diagram
  3. Click the download button (appears top-right, next to the edit button)
  4. Choose a save location in the system dialog
  5. Done — PNG saved to disk

Settings

Setting Default Description
Image scale 2 Resolution multiplier for exported PNG (1–4x)

Requirements

  • Obsidian ≥ 0.15.0
  • Desktop only (Windows / macOS / Linux)

Development

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.

Contributing

See CONTRIBUTING.md for development setup, bug reports, and pull request guidelines.

License

MIT — Addo Zhang

93%
HealthExcellent
ReviewSatisfactory
About
Export rendered Mermaid diagrams as PNG images directly from Obsidian. Preserve your current theme's WYSIWYG rendering and choose a scale factor up to 4× for crisp high‑DPI output. Save files anywhere with the native system file picker; export button appears on hover in Live Preview and Reading modes.
ExportImagesVisualization
Details
Current version
1.1.0
Last updated
5 days ago
Created
2 months ago
Updates
7 releases
Downloads
284
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
addozhangaddozhang
atbug.com
GitHubaddozhang
  1. Community
  2. Plugins
  3. Export
  4. Mermaid Exporter

Related plugins

Leaflet

Interactive maps inside your notes.

Mermaid View

Handle Mermaid files as first-class citizens, rendering them fullscreen when opened.

Export Image plugin

Easily convert your article to image.

Note Gallery

A masonry gallery that will visualize your notes, similar to Craft note view.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Image Converter

Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align, drag-resize, rename with variables, and batch process images: WEBP, JPG, PNG, HEIC, TIF

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.