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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Mehrmaid

huterguierhuterguier33k 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.

69%
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
33k
Compatible with
Obsidian 0.15.0+
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.

Mind Map

Display Markdown notes as mind maps using Markmap.

ABC Music Notation

Render music sheets directly from code blocks using ABC music notation via abcjs.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Outliner

Work with your lists like in Workflowy or Roam Research.

Various Complements

Complete words similar to auto-completion in an IDE.

Maps

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

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Fantasy Statblocks

Create, manage and view a Fantasy Bestiary with Dungeons and Dragons style statblocks.

Advanced Canvas

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