Editable mindmap workbench for explicit Markdown mindmap fenced blocks in Obsidian.
- Open the command palette and run
Open Markdown Mindmap, or click the ribbon icon. - If the current Markdown file has no mindmap yet, click
Create mindmap in current file. - Edit either side:
- Editing the fenced Markdown block refreshes the mindmap.
- Editing nodes in the mindmap writes back to the fenced Markdown block.
Mindmaps are stored directly in the Markdown file:
```mindmap id="research" title="博士研究"
- 博士研究
- 研究问题
- 文献综述
- 实验设计
```Notes:
- Only fenced blocks marked as
mindmapare indexed. - Ordinary Markdown lists are ignored.
- A single Markdown file can contain multiple mindmaps.
- New content is written with Tab indentation.
- Old two-space indentation can be read, but newly written content uses Tabs.
The panel has a left dashboard and a right canvas.
Current filelists mindmaps in the active Markdown file.Vaultlists indexed mindmaps across the vault.- Search filters by title, root node, and file path.
Enter: create a sibling node after the current node.Tab: indent the current node under the previous sibling.Shift+Tab: outdent the current node.Backspace/Delete: delete an empty leaf node.
Select two or more adjacent sibling nodes, then run Induce Parent from Selected Nodes.
The plugin creates a new parent node and moves the selected nodes under it.
The plugin may append a hidden managed block to the Markdown file:
<!-- BEGIN MARKDOWN-MINDMAP-STATE
{"schemaVersion":1,"blocks":{}}
END MARKDOWN-MINDMAP-STATE -->This block stores UI state only. The mindmap content remains in the fenced Markdown block.