lj970926/dsh-plugin-mermaid1

dsh-plugin-mermaid

DeepSeek Harness 网页客户端插件,支持 Mermaid 代码块渲染及图表/源码切换

AI 分析

在 DSH 中将 Mermaid 代码块渲染为 SVG 图表,并提供源码与图表切换及强制重渲染功能。适合经常需要阅读或生成流程图、架构图的用户。

包名
dsh-plugin-mermaid
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lj970926/dsh-plugin-mermaid

Usage

Send any message containing a fenced mermaid block, e.g.:

```mermaid
flowchart LR
  A[Input] --> B[Process] --> C[Output]
```

DSH renders it as a code block; the plugin enhances it with:

  • 源码 / 图表 toggle — switch between Mermaid source and rendered SVG.
  • 重渲染 — force a re-render (useful after streaming or CDN hiccup).

Theme changes (Settings → Appearance) re-render all blocks with the matching Mermaid theme.