v0.3.0
Summary
Preview mermaid syntax as images via local rendering in DSH Web when the chat message contains a mermaid fenced code block (```mermaid or ```mmd ).
Selected features:
- Preview mermaid diagram by rendering image directly!
- Local renderer first!
- Setting card: you can adjust runtime settings in the UI - no restart needed.
- Mount point:
conversation.chat.turnTail(chain slot, additive - never
shadows shipped UI). - Thumbnail display: the diagram renders as a thumbnail; click to enlarge in place, click again to shrink back (same element toggles, no popup).
- Light/dark themes follow the UI automatically.
Changes
- Since v0.3.0 the plugin use local render to preview image first, if failed, it is able to fallback to external/self-hosted render engine by configuring a fallback server.
Installation
$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#v0.3.0Uninstallation
$ dsh plugin --profile web remove @baconbao/dsh-mermaid-image-preview