dsh-mermaid-fence:在 DSH Web 聊天裏把已定格的 Mermaid 圍欄渲染成 SVG

dsh-mermaid-fence 是 XiaoBinGan 維護的 DSH 客戶端插件,在 Web GUI 聊天裏僅對 turn 已結束(無 data-streaming)的 ```mermaid 圍欄渲染 SVG;流式輸出保持代碼塊,解析失敗保留源碼並顯示錯誤。相對 AKS1st/dsh-mermaid 與 timedomain1/dsh-mermaid-renderer,本插件側重 mermaid 渲染後對 SVG 的 harden.js 加固及 strict 安全說明。安裝:dsh plugin --profile web add github:XiaoBinGan/dsh-mermaid-fence。社區包,安裝前請審閱源碼與 MIT 許可證。

閱讀全文