lsy1998/dsh-pele-mermaid ↗★ 0

dsh-pele-mermaid

Render Mermaid code blocks in the DeepSeek Harness Web UI as SVG with Pele (no mermaid.js runtime). 适合需要在DSH Web端直接预览、全屏查看或下载Mermaid图表的用户。

Package
dsh-pele-mermaid
Compatibility
Unverified
Version
0.1.0
License
NOASSERTION
Last updated
Oct 20, 2026

Install

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

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.