dsh plugins中文
← Back to popular plugin directory

Copy dsh assistant output as Markdown

Asianfleet/dsh-message-copy-enhance · skills

A DeepSeek Harness client UI plugin: when you select text in a model message and copy it, the clipboard content is rewritten to Markdown, so links, LaTeX source, code-fence language info, and more are no longer lost.

★ 3GitHub stars
0Forks
2026-08-28Last updated
TypeScriptLanguage
MITLicense

Key features

  • DSH renders model output via dsh-client-ui-conversation → dsh-client-ui-primitives
  • This package is pre-1.0, and a caret range like ^0.1.0 covers patch releases only (0.1.x) — a minor bump (0.1 → 0.2) falls outside the range, so dsh plugin update will not pick it up.
  • Expand the selection to the full .katex element (selecting in the middle of a formula still gets the complete source) 2.
  • Clone the selection DOM with Range.cloneContents() 3.
  • Recover the markdown with the built-in zero-dependency DOM→Markdown converter (src/client/toMarkdown.ts, written in TypeScript, type-erased and inlined into the bundle) 4.

Requirements

  • Selections spanning multiple messages are not intercepted (only selections starting inside an assistant message are handled).
  • Links filtered out by the render whitelist (e.g.

Install command

dsh plugin --profile web add github:Asianfleet/dsh-message-copy-enhance
View GitHub repository ↗Back to popular plugin directory