Advanced Mermaid

approvedunreviewed

by indubyagee

Render Mermaid diagrams inline editing, style overrides, reusable preset classes, and SVG/PNG/Canvas export.

↓ 157 downloadsUpdated 3d agoMIT

Advanced Mermaid

MIT License Latest release GitHub stars Obsidian downloads Support on Ko-fi Support on Buy Me a Coffee

Edit Mermaid diagrams inside inline and full-screen Live Editors. Advanced Mermaid lets you match diagrams to the vault theme, reuse styles and presets across notes, export diagrams as SVG or PNG, and turn Flowchart and Agentflow diagrams into editable Obsidian Canvases.

Requires Obsidian 1.14.5 or later on desktop.

Advanced Mermaid 0.4.0 preview

```mermaid
flowchart TD
    A["Write Mermaid"]:::INPUT
	A ==> B["Preview diagram"]
    B ==> C{"Ready to share?"}:::DECISION
    C -->|No| D["Edit diagram"]:::PENDING
    D -.-> B
    C -->|Yes| E["Export diagram"]:::OUTPUT
```

Live editor

Installation

  1. In Obsidian, open Settings → Community plugins. If prompted, select Turn on community plugins.
  2. Select Browse and search for Advanced Mermaid.
  3. Select Install, then Enable.

View the Obsidian plugin listing · Install manually from GitHub

Try a diagram

Copy this block, including the backticks, into a blank note.

```mermaid
flowchart LR
    A[Draft] --> B[Review]
    B --> C[Publish]
```

In Live Preview, add a blank line after the block and move the cursor there to see the flowchart. Select Live editor above the diagram and change Draft to Plan in the source. The preview updates as you type. Select Open full-screen to move the editor into a dedicated tab. You can also view the diagram in Reading view.

While the plugin is enabled, it renders both mermaid and pele code blocks using Pele, a Mermaid-compatible renderer. Some diagrams may look different because Pele handles layout and styling in its own way. Pele compatibility

Documentation

  • User Guide for editing, styling, exporting, and troubleshooting.
  • Technical reference for configuration syntax, rendering behavior, and development.
  • Contributing for reporting issues, testing changes, and opening pull requests.
  • Changelog for release notes.

License and credits

Advanced Mermaid and its bundled renderer, Pele, use the MIT license. Project license · Pele source

Support the project on Ko-fi or Buy Me a Coffee.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.