返回目录

dsh-better-markdown

编辑精选维护状态: 活跃

zerob13/dsh-better-markdown

基于 markstream-react 的流式 Markdown 渲染,支持 Mermaid 图表、KaTeX 公式与安全降级

前往 GitHub项目主页
$ dsh plugin --profile web add dsh-better-markdown

19

星标

4

Fork

TypeScript

语言

MIT

许可证

2026-08-16

创建于

2026-08-17

最近推送

面向 DSH Web 的流式 Markdown 客户端插件,支持安全的 HTML 转义与丰富 Markdown 内容。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-09-29

许可证

MIT

01它能帮你完成什么?

  • Render streaming assistant Markdown in DeepSeek Harness Web.

    A continuous Markstream renderer with Markdown, tables, task lists, links, images, KaTeX math, and Mermaid diagrams.

    DeepSeek Harness Web users who want a streaming-focused Markdown renderer.

02如何接入 DeepSeek Harness?

前置条件

  • DeepSeek Harness Web can start normally.

安装步骤

  1. 01

    Run `dsh plugin --profile web add dsh-better-markdown`.

    $ dsh plugin --profile web add dsh-better-markdown

  2. 02

    Run `dsh --profile web --dump-config`, then start the Web profile with `dsh --profile web`.

    $ dsh --profile web --dump-config

验证接入成功

作者未说明

回滚

  • Run `dsh plugin --profile web remove dsh-better-markdown`.

03DSH 适配与能力边界

DSH 适配原生运行时

DeepSeek Harness Web client plugin that replaces the streaming assistant Markdown rendering path with markstream-react.

  • Streaming Markdown renderer

    Streaming and settled assistant Markdown in the Web conversation.→The same Markstream renderer remains active after the message settles.

  • Safe rich-content rendering

    Raw HTML, links, images, code fences, math, and Mermaid content.→Escaped raw HTML, safe external protocols, KaTeX math, Mermaid strict mode, and code-fence rendering.

04适合谁?何时不该用?

适合

  • DeepSeek Harness Web users who want a streaming-focused Markdown renderer.

不适合

  • Only the Web conversation assistant-step is replaced; static surfaces such as plan review and trajectory keep Harness MarkdownText.
  • Older Harness releases without priority-based slot shadowing fail to load instead of running two renderers.

05兼容性、维护与安全提示

  • Only the Web conversation assistant-step is replaced; static surfaces such as plan review and trajectory keep Harness MarkdownText.
  • Older Harness releases without priority-based slot shadowing fail to load instead of running two renderers.
2026-08-162026-08-17v0.1.2

MIT · README-backed author documentation

06常见问题

它替换了 DSH 的哪个部分?

它替换 Web 对话里的流式 assistant Markdown 渲染链路;计划审查等静态界面仍使用 Harness 的 MarkdownText。

支持 Mermaid 和数学公式吗?

支持。README 说明它包含 Mermaid、KaTeX 行内与块级公式,以及基于 Shiki 的 fenced code 渲染。

怎样卸载?

运行 `dsh plugin --profile web remove dsh-better-markdown`。README 说明 slot shadow 和组件策略释放后,Harness 内置渲染器会恢复。

08数据与来源

  • 作者声明github.com2241facb67ad…

    `dsh-better-markdown` 是一个 DeepSeek Harness Web 客户端插件。

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-29。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。