AKS1st/dsh-mermaid ↗★ 9

dsh-mermaid

Render ```mermaid fences in DSH Web conversation messages as interactive-free SVG diagrams (lazy-loaded, strict security). 适合需要直观查看流程图、时序图等Mermaid图表的用户。

パッケージ
dsh-mermaid
互換性
未検証
バージョン
0.5.0
ライセンス
MIT
最終更新
2026/08/18

同名パッケージの別リポジトリ

インストール

$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
配置项默认值说明
themeauto图表主题:auto(跟随亮/暗)、default、dark、neutral、forest、base
maxTextSize50000单图文本上限(防超大图拖垮渲染)
maxEdges2000边数守卫
securityLevelstrict固定为 strict,不接受 loose

在 profile 的 cordis.patch.yml 里以 - set: 或 - update: 覆盖即可。