CH4ACKO3/dsh-render-engine

CH4ACKO3★ 0TypeScript最后同步: 2026-08-21

在 GitHub 打开

Shiki, syntax highlighting, and code rendering services for DeepSeek Harness

README 摘要

DSH Render Engine English 简体中文 A small monorepo of browser-side rendering services for DeepSeek Harness Web plugins. It separates Shiki tokenization, stable syntax-highlight tokens, Markdown, Mermaid diagrams, TeX math, normalized diffs, diagnostic code frames, ANSI terminal output, and safe HTML rendering into ten independently publishable npm packages. Renderer services, not a frontend The ten published packages do not ship a page, panel, ChatView card, or other concrete frontend. They register reusable browser-side Cordis services such as ctx.codeRenderer , ctx.markdownRenderer , ctx.mermaidRenderer , ctx.mathRenderer , and ctx.diffRenderer . A downstream plugin chooses the host surface and interaction, calls the services with its own data, and receives normalized structures, stable tokens, SVG, MathML, or escaped theme-aware HTML that it can embed in that surface. The ChatView cards shown below belong only to the private integration/consumer . They demonstrate one possible adapter built on the public services; they are not UI bundled with the published renderer packages. See it in ChatView The same persisted patch is expanded on both sides. Native DSH presents it as plain text;…

在 GitHub 查看完整 README →
工具/开发code-renderingcordisdeepseek-harnessdshdsh-pluginnpm-packageshikisyntax-highlighting

分类