dsh-composer-live
DSH Web 0.1.5+ 输入框增强(Lexical contenteditable 架构版):markdown 实时渲染 + 代码块语法高亮/段落级等宽 + 格式工具栏(常驻顶条 + 选区浮动条)+ 70vh 展开 + 大段粘贴包代码块 + Esc 分发。纯浏览器端插件,零依赖,不改官方源码。仿 Open WebUI 输入体验。 适合需要富文本编辑、代码高亮及大段代码粘贴优化的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zeusxx/dsh-composer-liveドキュメント
README 全文を読む ↗Usage
Everything is on by default — install, restart, and type Markdown in the composer.
Typical flows:
- Code block: type
```js, press Shift+Enter — a closed block appears with the caret inside. Code with live highlighting; Tab indents two spaces; press ↓ on the last content line to exit below the block. - List: type
- item, press Shift+Enter to continue items; press Shift+Enter on an empty item to end the list. Tab nests, Shift+Tab un-nests. - Long text: hit the expand button (or work as usual) — the composer grows to 70vh for long-form writing; Esc collapses it.
- Paste a log: a big chunk of code or log text becomes a fenced code block automatically; Ctrl+Z if you don't want that.