MCPcopy Index your code
hub / github.com/dartungar/obsidian-mermaid

github.com/dartungar/obsidian-mermaid @1.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.4.1 ↗ · + Follow
123 symbols 277 edges 44 files 0 documented · 0% updated 24d ago1.4.1 · 2026-05-18★ 3247 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mermaid Tools for Obsidian.md

About Mermaid

Mermaid.js lets you create diagrams and visualizations using text:

Start ---> Stop

will render as:

image

Obsidian supports Mermaid.js natively, via mermaid codeblocks.

⚠️ Please note that rendering Mermaid is Obsidian's feature, and not implemented by this plugin. This plugin has no control over how Mermaid is rendered. All bugs concerning rendering of diagrams should be posted to official forums.

Mermaid Tools

This plugin adds a toolbar with common Mermaid.js elements, so you won't have to remember them.

Use ribbon icon or Mermaid: Open Toolbar View command to open the toolbar.

Click on an element to paste it into editor.

image

A small demo: obsidian-mermaid-demo-updated

Note: in toolbar panel, all elements are wrapped as complete diagrams for rendering purposes.

Create & Manage elements

You can create, delete, edit & reorder elements in settings tab: mermaid-toolbar-settings

Roadmap:

  • ✅ add / edit elements in settings
  • ✅ reorder elements in settings
  • UX improvements

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 55
Function 33
Class 26
Interface 8
Enum 1

Languages

TypeScript100%

Modules by API surface

src/ui/settingsTab.ts22 symbols
src/ui/toolbarView/mermaidToolbarView.ts14 symbols
src/core/categoryService.ts14 symbols
main.ts12 symbols
src/core/elementService.ts10 symbols
src/ui/toolbarView/viewHelpers.ts9 symbols
src/ui/editMermaidElementModal.ts8 symbols
src/ui/renderMermaidSvg.ts6 symbols
src/ui/editCategoryModal.ts6 symbols
src/core/textEditorService.ts6 symbols
src/ui/toolbarView/mermaidToolbarButtons.ts3 symbols
src/settings/settings.ts3 symbols

For agents

$ claude mcp add obsidian-mermaid \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page