lj970926/dsh-plugin-mermaid ↗★ 1
dsh-plugin-mermaid
DeepSeek Harness web client plugin that renders ```mermaid code blocks with a chart/source toggle.
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.