zeusxx/dsh-composer-live ↗★ 0

dsh-composer-live

DSH Web 0.1.5+ 输入框增强(Lexical contenteditable 架构版):markdown 实时渲染 + 代码块语法高亮/段落级等宽 + 格式工具栏(常驻顶条 + 选区浮动条)+ 70vh 展开 + 大段粘贴包代码块 + Esc 分发。纯浏览器端插件,零依赖,不改官方源码。仿 Open WebUI 输入体验。 适合需要富文本编辑、代码高亮及大段代码粘贴优化的用户。

패키지
dsh-composer-live
호환성
미검증
Cordis peer 범위
*
버전
0.2.11
라이선스
MIT
최근 업데이트
2026. 9. 27.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zeusxx/dsh-composer-live

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.