Skip to content

v0.3.0

Choose a tag to compare

@baconbao baconbao released this 16 Aug 12:07
· 6 commits to latest since this release

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.0

Uninstallation

$ dsh plugin --profile web remove @baconbao/dsh-mermaid-image-preview