baconbao/dsh-mermaid-image-preview ↗★ 4
@baconbao/dsh-mermaid-image-preview
A DeepSeek Harness Plugin for Previewing Mermaid Diagram by Images in Chat Sessions. View on GitHub (https://github.com/baconbao/dsh-mermaid-image-preview). 适合需要在聊天过程中直观预览流程图、思维导图等Mermaid图表的用户。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baconbao/dsh-mermaid-image-previewドキュメント
README 全文を読む ↗Configuration
Change runtime settings on the plugin page

The Plugins panel lists this plugin under Installed; open its page and the configuration block carries the runtime settings - no restart needed. Values are stored in localStorage and applied immediately across all sessions.
Change render server via configuration file
Diagrams are rendered locally by default. To use your own render server or
enable the external fallback, edit the profile's cordis.patch.yml (e.g.
~/.dsh/profiles/web/cordis.patch.yml for WebUI, or ~/.dsh/profiles/desktop/cordis.patch.yml for Desktop):
- id: ui-dsh-mermaid-image-preview
config:
enableLocalRender: true
fallbackRenderUrl: https://mermaid.ink
enableFallback: false
enableLocalRender: render locally (defaulttrue). Set it tofalseto always use the fallback server (enableFallbackis ignored).fallbackRenderUrl: fallback render server (defaulthttps://mermaid.ink).enableFallback: use the fallback server when local rendering fails (defaultfalse).- Restart DSH after changing these settings.
- To host your own fallback render server, see for the details.
Change render server via configuration file
Diagrams are rendered locally by default. To use your own render server or
enable the external fallback, edit the profile's cordis.patch.yml (e.g.
~/.dsh/profiles/web/cordis.patch.yml for WebUI, or ~/.dsh/profiles/desktop/cordis.patch.yml for Desktop):
- id: ui-dsh-mermaid-image-preview
config:
enableLocalRender: true
fallbackRenderUrl: https://mermaid.ink
enableFallback: false
enableLocalRender: render locally (defaulttrue). Set it tofalseto always use the fallback server (enableFallbackis ignored).fallbackRenderUrl: fallback render server (defaulthttps://mermaid.ink).enableFallback: use the fallback server when local rendering fails (defaultfalse).- Restart DSH after changing these settings.
- To host your own fallback render server, see for the details.