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

Mehrmaid

huterguierhuterguier36k downloads

Enables you to put Markdown inside of Mermaid diagrams.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Mehrmaid (as in german "mehr" for "more") is an extension of Mermaid codeblocks in Obsidian. It allows rendering of Obsidian generated markdown inside of node labels. Mehrmaid follows the same syntax as Mermaid, but the content of nodes can be rendered as Obsidian markdown by wrapping the content in double quotes. Below is a simple example of a mehrmaid graph. It shows how to render images, LaTeX math, tables, links and internal Obsidian links inside of nodes.

Main Screen (Dark Mode) Main Screen (Light Mode)

```mehrmaid
graph LR
T1 --> T2 & T3 --> T4 & T5 --> T6

T1("![|100x100](https://upload.wikimedia.org/wikipedia/commons/thumb/1/10/2023_Obsidian_logo.svg/1024px-2023_Obsidian_logo.svg.png)")
T2("$\nabla_\theta \mathbb{E}_{\tau\sim p_\theta}[R(\tau)]x$")
T3("| First Name | Last Name |
| ---------- | --------- |
| Doug       | Engelbart |")
T4("#plugins/mehrmaid")
T5("[[mehrmaid]]")
T6("![|80](https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Obsidian_software_logo.svg/1297px-Obsidian_software_logo.svg.png)")
```

How it works

Mehrmaid makes use of the Java Script library Mermaid library to render graphs. Mermaid allows to define nodes and edges in a graph using a simple markdown syntax. The content of nodes can be defined using HTML or plain text. Merhmaid works by first using the Obsidian Markdown renderer to render the content of nodes and estimate their size. It then uses the HTML renderer of Mermaid to render the graph with the correct node sizes. Lastly the placeholder nodes are replaced with the rendered HTML. There are still some issues with this approach, which will hopefully be fixed in the future.

Examples

This section shows some examples of what can be done with Mehrmaid. If you have any other examples worth sharing, please open an issue or a pull request.

Bayesian Network

Below is a simple example of a Bayesian network, containing the probaility tables as markdown tables. The corresponding markdown code can be found in examples/tables.md.

Example Table Example Table

Policy Gradient Theorem

Below is a very simple examples showing a small part of the proof of the policy gradient theorem. The corresponding markdown code can be found in examples/pg.md.

Paging Example (Dark Mode) Paging Example (Light Mode)

Installation

The plugin is available in Obsidian's community plugin store. You can search for it in the app or access it here. Alternatively, you can build and install it manually. You can build it by cloning this repository into your .obsidian/plugins folder and then running npm install followed by npm run build inside the cloned repository. The plugin should then be available in the Obsidian plugin settings.

Contributing

At the moment Mehrmaid only support the flowchart and graph types of Mermaid diagrams. Due to the fact that most other diagram types do not share the same underlying rendering code, they cannot be supported by default. If you are interested in adding support for other diagram types, please open an issue or a pull request.

HealthGood
ReviewCaution
About
Render Obsidian Markdown inside Mermaid node labels by wrapping node content in double quotes. Display images, LaTeX math, tables, external links and internal Obsidian links directly inside graph nodes while preserving node sizing. Follow standard Mermaid graph syntax.
VisualizationMarkdownLaTeX
Details
Current version
0.0.2
Last updated
2 years ago
Created
2 years ago
Updates
2 releases
Downloads
36k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
huterguierhuterguier
github.com/huterguier
GitHubhuterguier
  1. Community
  2. Plugins
  3. Visualization
  4. Mehrmaid

Related plugins

Markwhen

Create timelines, gantt charts, calendars, and more using markwhen.

AnyBlock

Take any fragment as a block and render it into multiple effects.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Advanced Canvas

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

Outliner

Work with your lists like in Workflowy or Roam Research.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Maps

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

Mermaid Tools

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

Consistent Attachments and Links

Move note attachments and update links automatically.