跳到主要内容
Plugin

dsh-paste-code-block

cjm-m/dsh-paste-code-block

Cherry Studio 式粘贴:把多行/缩进/围栏文本或代码粘进 DSH Web 输入框时收成带边框、可折叠、带语言标签的卡片,发送时还原为围栏代码块。

形态
Plugin 插件
安装
npm 包安装
需要密钥
否
近月下载
1,702
最近推送
20 天前更新

项目说明

From README

dsh-paste-code-block Cherry Studio‑style text/code block pasting for DeepSeek Harness Web Paste long code or text into the DSH Web composer → it lands as a bordered, collapsible, language‑tagged card instead of a wall of text.Names follow the DSH interface language (中文 / English).

On send, the original content is restored as a fenced code block — and in the conversation it stays folded into click‑to‑expand cards, so your bubbles never become text walls again.

English 简体中文 Why Copying a 200‑line stack trace, an API response, or a long log into a chat input turns the composer into an unreadable blob.

This plugin folds any qualifying paste into a chip (built on DSH's own hidden‑reference mechanism, the same one file uploads use) plus an editing detail card — the draft stays clean, and the content stays fully editable and restorable.Features - 🧩 Auto block detection — pasted text with fen

Original description

Cherry Studio-style paste for DeepSeek Harness Web: long code/text collapses into a tidy, collapsible, language-tagged card — localized names (中文/English), in-card editing, one-click × remove, fenced-code restore on send.

安装方式

npm 包安装 · 安装无需配置

README 解析
shell
dsh plugin --profile web add dsh-paste-code-block
shell
dsh plugin --profile web add github:cjm-m/dsh-paste-code-block # from GitHub
shell
dsh plugin --profile web add file:/path/to/dsh-paste-code-block # from a local folder

为什么是这个分数

近 20 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1702 次,star 不多但真在被使用。

维护活跃
86
实用度
88
生态热度
65
上手便捷
100
信号质量
100
数据置信度
100%
评分怎么算