dsh-pele-mermaid
Render Mermaid code blocks in the DeepSeek Harness Web UI as SVG with Pele (no mermaid.js runtime). 适合需要在DSH Web端直接预览、全屏查看或下载Mermaid图表的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lsy1998/dsh-pele-mermaidREADME
Read the full README ↗Usage
Ask a model to output a Mermaid fenced code block:
```mermaid
flowchart LR
A[Code] --> B[Diagram]
```
The block becomes a card that wraps the original pre. Diagram view is shown first; the
Code button reveals the untouched source, and Diagram switches back. Fullscreen and
Download SVG are available whenever a diagram rendered successfully.