dsh-pele-mermaid
使用Pele将Mermaid代码块渲染为SVG矢量图。 适合需要在DSH Web端直接预览、全屏查看或下载Mermaid图表的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lsy1998/dsh-pele-mermaid說明文件
閱讀完整 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.