mermaid-preview
Auto-preview Mermaid diagrams in the browser on Write/Edit/MultiEdit/NotebookEdit. Inlined Mermaid bundle (offline-safe), dark-mode aware, auto-reload on source change, per-file preview with LRU retention, opens the tab once per file (MERMAID_PREVIEW_ALWAYS_OPEN=1 to force-open every write).
Plugin mermaid-preview from marketplace mermaid-preview in xiaolai/mermaid-preview-for-claude. Commands read from the repo's manifest — 1 month ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.
What it installs
Skills (1)
mermaid-chartsAuthoring guidelines for Mermaid diagrams in Claude-generated markdown. Triggers when writing, fixing, or validating mermaid charts; choosing between mermaid and ASCII graphs; embedding diagrams in docs, READMEs, or design notes. Covers validation via mcp__mermaider__validate_syntax, fencing convent
Hooks (1)
- PostToolUse
bash "${CLAUDE_PLUGIN_ROOT}/scripts/mermaid-preview.sh"
Maintain mermaid-preview?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.