Skip to content

Releases: baconbao/dsh-mermaid-image-preview

v0.3.1

Choose a tag to compare

@baconbao baconbao released this 16 Aug 19:04

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

  • Remove unsed codes (minor changes).
  • Code quality improvement (minor changes).

Installation

$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#v0.3.1

Uninstallation

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

v0.3.0

Choose a tag to compare

@baconbao baconbao released this 16 Aug 12:07

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

v0.2.0

Choose a tag to compare

@baconbao baconbao released this 16 Aug 09:10

Summary

dsh-mermaid-image-preview - A DeepSeek Harness Plugin for Previewing Mermaid Diagram by Images in Chat Sessions

Selected features:

  • Render mermaid diagram images directly in DSH Web chat when the message content contains mermaid syntax (a ```mermaid or ```mmd fenced code block).
  • Preview mermaid diagrams by image directly.
  • You can adjust runtime settings (enable/disable, image size, etc.) in the UI - no restart needed.

Changes

  • The runtime setting is added to UI in the setting card, you can adjust runtime settings without restart.
  • Since v0.2.0 the plugin/package id is changed from dsh-mermaid-image-preview to @baconbao/dsh-mermaid-image-preview.

Installation

$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#v0.2.0

Uninstallation

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

v0.1.0

Choose a tag to compare

@baconbao baconbao released this 16 Aug 07:58

Summary

The first release version of DeepSeek Harness Plugin dsh-mermaid-image-preview. Include following selected features:

  • Renders mermaid diagram images directly under the assistant message when the message content contains mermaid syntax (a ```mermaid or ```mmd fenced code block).
  • You can configurate the mermaid.ink render server to your host.

Installation

$ npx @deepseek-ai/dsh plugin --profile web add github:baconbao/dsh-mermaid-image-preview#v0.1.0

Uninstallation

$ npx @deepseek-ai/dsh plugin --profile web remove dsh-mermaid-image-preview