lsy1998/dsh-pele-mermaid ↗★ 0

dsh-pele-mermaid

使用Pele将Mermaid代码块渲染为SVG矢量图。 适合需要在DSH Web端直接预览、全屏查看或下载Mermaid图表的用户。

包名
dsh-pele-mermaid
兼容性
待验证
版本
0.1.0
许可证
NOASSERTION
最近更新
2026年10月20日

安装

$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.