lj970926/dsh-plugin-mermaid ↗★ 1
dsh-plugin-mermaid
DeepSeek Harness 网页客户端插件,支持 Mermaid 代码块渲染及图表/源码切换
AI 分析
在 DSH 中将 Mermaid 代码块渲染为 SVG 图表,并提供源码与图表切换及强制重渲染功能。适合经常需要阅读或生成流程图、架构图的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lj970926/dsh-plugin-mermaid说明文档
阅读完整 README ↗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.