AI Agent Hub
Back to plugins
dsh-web-mermaid preview

dsh-web-mermaid

Client Updated 2026.08.22

Run the following command in DeepSeek Harness:

dsh plugin install demo007x/dsh-web-mermaid

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install demo007x/dsh-web-mermaid in the DeepSeek Harness terminal, then restart dsh web to activate the plugin (source: https://github.com/demo007x/dsh-web-mermaid).

About this plugin

DeepSeek Harness web chat accepts Mermaid code blocks, but the built-in Markdown renderer only displays plain text without generating any diagram or applying syntax highlighting. dsh-web-mermaid bridges that gap by intercepting each Mermaid block on the browser side and rendering it into a crisp SVG graphic, so you can see flowcharts, sequence diagrams, or Gantt charts directly inside the conversation without copying code to an external editor.

The Mermaid runtime ships with the plugin, making rendering fully offline with zero CDN dependency. Clicking a rendered image opens a translucent lightbox where you can zoom via buttons and pan with the mouse. A single toggle switches back to the source view, where a lightweight built-in tokenizer colors keywords, comments, strings, arrow connectors, and numeric literals. The plugin re-renders automatically when DSH toggles between light and dark themes, and it supports every chart type in Mermaid 11, including flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram, gantt, and pie.

If you routinely sketch architecture diagrams, approval workflows, state machines, or project timelines as Mermaid text in DSH chat, this plugin gives you zoomable, source-comparable finished diagrams without leaving the conversation or relying on a network connection.

Screenshots

Use Cases

  • Draft architecture as Mermaid in chat and view the rendered flowchart instantly
  • Preview Gantt or sequence diagrams while fully offline
  • Share state-machine code alongside highlighted source and a live diagram

Best For

  • DSH power users who document workflows in Mermaid
  • Developers needing offline diagram preview in the browser
  • Reviewers who benefit from zoomable and pannable chart interaction