dsh-mermaid-preview
Run the following command in DeepSeek Harness:
dsh plugin install realguan/dsh-mermaid-preview
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install realguan/dsh-mermaid-preview in your DeepSeek Harness terminal to install the plugin; its open-source repository is https://github.com/realguan/dsh-mermaid-preview
About this plugin
In day-to-day dsh Web usage, conversations, trajectories, plan reviews, and summaries all flow through Markdown rendering, yet Mermaid fenced code blocks remain nothing more than raw text. dsh-mermaid-preview fills that gap: without touching a single line of dsh source code, it uses a DOM observer to detect every mermaid fence and render it as a clean SVG diagram, so one integration covers every MarkdownText view.
The plugin supports 11+ diagram types including flowchart, sequenceDiagram, classDiagram, stateDiagram-v2, gantt, pie, erDiagram, journey, mindmap, gitGraph, and timeline. It follows dsh light and dark themes with live redraws, preserves the original copy button, and adds a convenient show-source / show-diagram toggle. When the CDN is unreachable or the syntax is invalid, it degrades gracefully back to a code block with a hint, and on unmount all injected styles and listeners are removed cleanly. There are no runtime dependencies, no data collection, and the security level is strict.
It is ideal for developers and architects who describe system architecture, API sequences, data flows, or project schedules with Mermaid diagrams inside dsh. Whether asking the AI to generate a flowchart to untangle module dependencies or pasting a gantt chart to align milestones during a plan review, the diagram renders the moment the message lands, with no external editor required.
Screenshots
Use Cases
- AI-generated Mermaid flowcharts in conversations render as SVG instantly
- Paste a Gantt chart in plan reviews to align project milestones
- Trace API call chains via sequenceDiagram in trajectory views
Best For
- Developers who frequently describe architecture or sequences with Mermaid in dsh
- Architects who need to visualize project schedules during plan reviews
- Users who want quick diagram rendering with zero config and no dsh source changes
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.