MarchLiu/dsh-rich-editor

A rich Markdown notebook for the DSH composer region: a CodeMirror 6 editor with Codex-style Enter list editing, an Edit/Preview pair, and a per-session draft that mirrors live with the native composer.

dsh-rich-editor adds a rich Markdown notebook to the DSH composer region. Its browser half contributes a tool-row toggle and an editor card that share one per-session store, so the in-progress draft survives closing and reopening the panel, surface remounts, and each session keeps its own notebook. The editor is a CodeMirror 6 instance over the Markdown language with syntax highlighting (GFM tables included), native undo/redo, and Codex-style Enter-key list editing (ordered markers increment, checkbox items reopen unchecked, Tab/Shift-Tab steer list depth) plus Mod+Enter to submit. An Edit/Preview pair renders the live draft through marked, sanitized with DOMPurify, without modifying what is submitted. Submission rides the same scope-addressed conversation service send verb as the plain composer, and the notebook and native composer mirror live as two editing surfaces over one draft until a successful submit clears both.

Web UI Enhancements ★ 2
View on GitHub ↗

Install

dsh plugin --profile web add @mars.liu/dsh-rich-editor

Copied verbatim from the README's Install block. The README notes the package carries its own bundle patch (its cordis.patch.yml adds the ui-rich-editor row), and shows a checkout form (pnpm install && pnpm run build && pnpm test).

Compatibility

Requires the dsh family at ^0.1.2-alpha.5 and a dsh web composition that mounts dsh-client-ui-conversation. The README carries a prominent compatibility notice: on DSH 0.1.5-rc.1 / 0.1.5-rc.2, installing it can re-resolve the profile's shared @deepseek-ai/* tree into a mutually incompatible pair of builds, so it recommends trying it in a dedicated profile first and warns that disabling the plugin is NOT a rollback (only a pnpm-level operation re-resolves the tree).

Details

Alternatives

GitHubJiKe/dsh-markdown-preview · LeslieWylie/dsh-md-preview · WhitePlusMS/dsh-input-plus

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins