rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ceasarXuu/dsh-better-markdown
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Markdown where you actually use it: the composer and your own messages.
DeepSeek Harness renders assistant replies as Markdown, but the composer is a plain-text editor and sent user messages come back as plain text. This plugin closes that gap:
#, **, `
and list markers, and paints emphasis, code, links and headings, so you can
read the structure while typing. The draft text never changes.M↓ button in the composer
toolbar toggles the preview (⌘⇧M / Ctrl+Shift+M also works);
the choice survives reloads. The transcript rendering follows the plugin
configuration, not the button.
Live rendered preview above the composer; the raw draft keeps its Markdown markers, dimmed.

Third-party plugin. Not an official DeepSeek / DeepSeek Harness component.
This plugin is distributed only through GitHub — it is not published on npm. Requirements: DSH 0.2.1-rc.5 or newer, below 0.3.0, with the Web or Desktop surface, and Node ≥ 22.
The install spec is the repository itself:
dsh plugin --profile <profile> add github:ceasarXuu/dsh-better-markdown
The same spec works in Plugins → Add in the app. A version tag pins a
release (github:ceasarXuu/dsh-better-markdown#v0.1.0), and a GitHub Release
tarball can be installed instead when your network setup prefers plain
artifacts:
dsh plugin --profile <profile> add https://github.com/ceasarXuu/dsh-better-markdown/releases/download/v0.1.0/ceasarxuu-dsh-better-markdown-0.1.0.tgz
Manual profile row (after the package is installed into the profile):
# profiles/<profile>/cordis.patch.yml
- insert:
- id: better-markdown
name: '@ceasarxuu/dsh-better-markdown'
config:
enabled: true
transcript: true
composer: true
syntax: true
preview: true
Disable the bundle and the shipped plain-text behavior returns immediately.
All switches are plain booleans on the plugin row; the browser reads them from
GET /plugin/better-markdown/config on page load.
| Switch | Default | What it does |
|---|---|---|
enabled |
true |
Master switch for every surface. Off restores shipped behavior while the plugin stays installed. |
transcript |
true |
Render sent user messages as Markdown in the conversation. |
composer |
true |
Enable the composer preview and its toolbar switch. |
syntax |
true |
Paint Markdown syntax inside the composer (CSS Custom Highlight API). |
preview |
true |
Show the preview by default when the draft contains Markdown. |
The toolbar switch is the per-browser override: pressing it off turns the
preview off on this browser only (localStorage key
better-markdown.prefs.v1); pressing it on shows the preview for any
non-empty draft. Clearing site data returns to the host default.
Everything runs in the browser half; the host half only publishes the switches, so there is no network traffic beyond the same-origin config read.
conversation.user.text.node slot. This
plugin registers the text key at a lower priority than the shipped cell and
renders the run with the platform's own MarkdownText component. Session
@-mention chips keep their shipped renderer, and copy/quote behavior keeps
reading the original text.conversation.input.dock entry (the same flow the
shipped queue and todo docks use) reads the live draft and renders it with
the same MarkdownText component.conversation.input.right cell provides the
switch, and a small controller repaints CSS.highlights over the composer's
text nodes. Highlights only change paint (color, background, underline,
text-shadow) — never layout, never the draft, never IME composition.Because rendering uses @deepseek-ai/dsh-client-ui-primitives from the
platform module table, user messages get exactly the GFM renderer assistant
replies use: sanitized links, highlighted code, tables, footnotes and math.
If that module is unavailable the plugin degrades to plain text instead of
breaking the page.
#, fences, lists,
quotes, tables, emphasis, code, links, task items).conversation.user.text.node or conversation.input.dock needs a plugin
update; the plugin never patches DSH source.npm test # pure helpers: detection, hard breaks, spans, config, route
npm run check # node --check on every shipped source
dev/ contains a dependency-free Chrome DevTools Protocol harness and a live
verification script. Point a throwaway DSH home at this checkout, boot
dsh web on a non-desktop port, then:
node dev/verify.mjs # 19 live checks + screenshots into docs/
The dev home, the server log, and the harness never touch the real ~/.dsh
or the desktop app.
MIT © ceasarXuu
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。