gitByteFree/dsh-mermaid-smooth
Renders Mermaid code fences in DeepSeek Harness chat as diagrams by default, with smooth zoom and pan, a per-fence diagram/code toggle and a fully bundled engine.
dsh-mermaid-smooth renders Mermaid code fences in DeepSeek Harness web chat as diagrams by default, with a fully bundled offline engine (Mermaid 11.17.2, no CDN) supporting flowcharts, sequence, state, class, mind map, Gantt/timeline, ER, user journey, pie, Git, Sankey, XY, Kanban and architecture diagrams. Assistant-message fences render as SVG the moment they are complete while non-mermaid code blocks are untouched. Interaction is smooth: cursor-anchored wheel zoom over one composed transform with a short ease-out, direct pointer drag, and double-click to fit, with reduced-motion preferences disabling easing. Each diagram card has a 图/文案 (diagram/code) toggle at its top-right with the per-fence state persisted in localStorage, plus fit-to-width, copy-source and download-SVG tools and Esc to exit fullscreen.
Install
dsh plugin --profile web add dsh-mermaid-smoothCopied verbatim from the README's install section (npm form). The README also lists a commit-pinned github:gitByteFree/dsh-mermaid-smooth#<full-commit-sha> form and tarball / local-path forms, and warns that dsh plugin add anchors ./-relative paths to your current directory.
Compatibility
Installs into the web profile. The README says the plugin bundles Mermaid 11.17.2 locally with zero CDN, and it follows the DSH dark mode.
Details
- Repo: gitByteFree/dsh-mermaid-smooth
- Category: Web UI Enhancements
- Stars: 0
- Version: GitHub repo gitByteFree/dsh-mermaid-smooth; npm package dsh-mermaid-smooth at 0.2.1 (registry check 2026-10-07; registry repository field resolves back to this repo).
FAQ
- Does it need an internet connection or a CDN?
- No — the README says it bundles Mermaid 11.17.2 locally so it renders with zero CDN.
- Can I still see the raw Mermaid source?
- Yes — the README says every diagram card has a 图/文案 (diagram/code) toggle at the top-right with a persisted per-fence preference, and a copy-source tool.
Alternatives
huiliyi37/dsh-tianshu-tui · Nagi-ovo/dsh-visualize · paean-ai/deeptide