cjm-m/dsh-paste-code-block ↗★ 0
dsh-paste-code-block
Cherry Studio-style paste: pasted text/code blocks into the DSH Web composer render as a bordered, collapsible, language-tagged card instead of a long flat string; the original text is restored as a fenced block on send.
AI Analysis
核心用途是美化和整理输入框中粘贴的长文本或代码。适合经常需要向 AI 喂入大段代码、希望保持输入框整洁易读的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cjm-m/dsh-paste-code-blockREADME
Read the full README ↗Usage
- Copy a block of code or a multi-line block of text anywhere.
- Paste it into the DSH input → it becomes a code-block card.
- Expand / copy / edit / remove as you like; press Enter or send and it's restored as a fenced code block.