dsh-mermaid
Run the following command in DeepSeek Harness:
dsh plugin install GongYuanCaiJi/dsh-mermaid
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install GongYuanCaiJi/dsh-mermaid in the DeepSeek Harness terminal to install; the plugin source is available at https://github.com/GongYuanCaiJi/dsh-mermaid .
About this plugin
In the DeepSeek Harness web client, mermaid fences that appear in a conversation are currently shown only as raw code blocks; to see the actual diagram you have to copy the syntax into an external renderer. dsh-mermaid removes that friction: whether the message comes from the user or the assistant, any mermaid fence is automatically rendered as an inline SVG diagram with no extra steps.
The rendering pipeline uses Mermaid s official parser to validate syntax, so errors surface as warnings directly beneath the diagram instead of failing silently. Supported diagram types include flowchart, sequenceDiagram, classDiagram, erDiagram, and stateDiagram. Every rendered diagram ships with a collapsible source block for quick review or editing, and the /mermaid command lets you re-render the last assistant message on demand. Results are cached at (session, turn) granularity so repeats are not recomputed, and oversized fences exceeding 400 lines or 20000 characters are skipped with a notice to keep the page responsive.
If you frequently draw flowcharts, sequence diagrams, or class diagrams alongside AI in Harness conversations and want mermaid syntax to appear as visual diagrams right in the chat instead of copying it to another window, this plugin is built for exactly that workflow: lightweight, backend-free, and ready to use out of the box.
Use Cases
- Paste or generate mermaid blocks in chat and see them rendered as inline SVG flowcharts instantly
- Co-design system architecture with AI and preview sequence, flowchart, and class diagrams directly in the conversation
- Validate mermaid syntax on the fly with parser errors displayed right below the diagram, no external tool needed
Best For
- Developers who frequently use mermaid syntax to draw diagrams within DeepSeek Harness
- Users collaborating with AI on architecture design who want to skip copy-pasting into external renderers
- Harness users who prefer lightweight, backend-free diagram visualization tools
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.