dsh-mermaid
在对话消息中将Mermaid代码块渲染为图表 适合需要直观查看流程图、时序图等Mermaid图表的用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AKS1st/dsh-mermaid說明文件
閱讀完整 README ↗配置
组合包默认生效以下配置:
- insert:
- id: mermaid
name: 'dsh-mermaid'
config:
theme: auto
maxTextSize: 50000
maxEdges: 2000
securityLevel: strict
| 配置项 | 默认值 | 说明 |
|---|---|---|
theme | auto | 图表主题:auto(跟随亮/暗)、default、dark、neutral、forest、base |
maxTextSize | 50000 | 单图文本上限(防超大图拖垮渲染) |
maxEdges | 2000 | 边数守卫 |
securityLevel | strict | 固定为 strict,不接受 loose |
在 profile 的 cordis.patch.yml 里以 - set: 或 - update: 覆盖即可。