rxdxxxx159 downloadsSmart-routes Mermaid diagrams: beautiful-mermaid for its 6 supported types, Obsidian's built-in engine for everything else.
English | 中文
An Obsidian plugin that intelligently routes Mermaid diagram rendering:
Both Reading View and Live Preview are covered.
beautiful-mermaidmermaid fences so no duplicate rendering| Type | Keyword |
|---|---|
| Flowchart | flowchart / graph |
| Sequence | sequenceDiagram |
| State | stateDiagram / stateDiagram-v2 |
| Class | classDiagram |
| ER | erDiagram |
| XY Chart | xychart-beta |
All other Mermaid types default to System mode (Obsidian's built-in engine).
main.js, manifest.json, styles.css from the latest release<vault>/.obsidian/plugins/auto-beautiful-mermaid/beautiful-mermaid-renderer — disable that plugin if both are installednpm install
npm run dev # watch mode
npm run build # production build
npm run test # unit tests
See DEVELOPMENT.md for architecture details and the double-render root cause analysis.