dsh plugins中文
← Back to popular plugin directory

Dsh Markdown Preview

GitHubJiKe/dsh-markdown-preview · skills

By default, clicking a produced-file chip in the DSH Web GUI hands the file to the operating system's default application (open on macOS → Xcode for many extensions).

★ 3GitHub stars
1Forks
2026-09-06Last updated
JavaScriptLanguage
MITLicense

Key features

  • Markdown rendered properly (GFM tables, fenced code, blockquotes, links, hard line breaks) with syntax highlighting in code fences (highlight.js common languages).
  • In-chat preview for produced files in DeepSeek Harness Web.
  • Host half (lib/index.js)registers a /preview RPC channel on ctx.connection with the loopback trust authority (the same DNS-rebinding / cross-site fence the /api surface uses).
  • The channel is loopback-only and behind the connection trust fence.
  • Code-file preview with full syntax highlighting (v0.3.0): 40+ extensions (.json .js .ts .py .yml .sh .css .html …) render in a dark editor-style view with GitHub-Dark token colors, highlighted server-side.

Install command

dsh plugin --profile web add github:GitHubJiKe/dsh-markdown-preview
View GitHub repository ↗Back to popular plugin directory