1149784810/jayhe-mdviewer

1149784810★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

General file previewer for DeepSeek Harness (dsh): vertical expandable produced-files list with per-type rendering — markdown, syntax-highlighted code, csv/tsv tables, images, text.

README 摘要

jayhe-mdviewer A general file previewer for DeepSeek Harness (dsh). When an agent turn produces files, the produced-files row under the closing assistant message becomes a vertical, expandable list. Clicking any produced file opens a right-docked panel that renders it in a style matching its type: markdown with the official MarkdownText renderer (full GFM, tables, fenced code, and TeX math — exactly like the chat), syntax-highlighted code ( 70 languages via bundled highlight.js), csv/tsv as HTML tables, images inline, and text/code logs as monospace plain text. 中文文档 Features - Per-type rendering — extension-driven recognition routes every file to its own renderer: 📄 markdown (official MarkdownText , micromark + KaTeX), 💻 code (highlight.js syntax highlighting with a language badge), 📊 csv/tsv (quoted-field-aware table, 500-row cap), 🖼 images, 📃 text; known binary formats get a specific "open externally" hint. - Vertical expandable produced-files row — collapsed by default ( Produced · N files ▸ ); one click expands ALL produced files (no chip cap), each with its type icon, name, and an ↗ external-open button. - One click → preview — clicking a file opens the right-docked panel…

在 GitHub 查看完整 README →
工具/开发csvdeepseek-harnessdsh-pluginmarkdownpreviewsyntax-highlightingvieweragent

分类