GitHubJiKe/dsh-markdown-preview
In-chat preview for produced files: click a produced-file chip to render Markdown (server-side markdown-it + highlight.js), images, or plain text right in the conversation; system-app open and reveal-in-folder stay one click away.
In-chat preview for files the agent produces in DeepSeek Harness Web. By default clicking a produced-file chip hands the file to the operating system's default app (on macOS, open often routes to Xcode). This plugin takes over the produced-files row: clicking a chip renders the file right in the conversation — Markdown is rendered with markdown-it + highlight.js server-side (GFM tables, fenced code), images preview inline, code files (JSON / JS / TS / Python / YAML / …) open in a dark syntax-highlighted code view, and any other text file shows as plain text. The old behaviors stay one click away: open in the system app, or reveal in the folder.
Install
dsh plugin --profile web add dsh-markdown-previewnpm package dsh-markdown-preview 0.3.0 (registry-verified 2026-08-27): dsh plugin --profile web add dsh-markdown-preview, then restart dsh web. Requires pnpm on PATH (dsh plugin forwards to pnpm) and DSH >= 0.1.0-rc.6. Nothing to configure.
Compatibility
DeepSeek Harness web profile, DSH >= 0.1.0-rc.6. Requires pnpm on PATH.
Details
- Repo: GitHubJiKe/dsh-markdown-preview
- Category: UI Enhancements
- Stars: 3
- Version: npm dsh-markdown-preview 0.3.0 (registry-verified 2026-08-27)
- Last push: 2026-08-17
- First seen: 2026-08-15
Recent updates
inline preview for produced-file chips; markdown-it + highlight.js server-side; dark code view; inline images; open-in-system-app / reveal fallbacks.
FAQ
- Do I need to configure anything?
- No — after install and restart, any turn that produced files shows the familiar produced-files row; clicking a chip toggles the preview panel.
- Can I still open the file in the system app?
- Yes — the original open-in-system-app and reveal-in-folder behaviors stay available one click away.
- Which files get syntax highlighting?
- Code files (JSON / JS / TS / Python / YAML / …) open in a dark highlighted view; Markdown gets GFM rendering; images preview inline; other text files show as plain text.
Alternatives
AKS1st/dsh-mermaid · lzszq/dsh-scholar · a903067276-rgb/dsh-file-mentions