dsh-markdown-input

DSH PLUGIN记忆与知识

仓库 kyanray-dev/dsh-markdown-input

记忆与知识 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

在dsh的输入框中进行markdown写作,便于梳理需求思路

一句话选型结论

按资料字段整理

dsh-markdown-input 是记忆与知识类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类记忆与知识 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 0 复刻 未标注 · 未关闭 issue 未标注
最近更新 2026-09-30 创建于 未标注
README 7.4 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:kyanray-dev/dsh-markdown-input
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

内容创作

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在记忆与知识场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-markdown-input当前 L5 · 运行验证通过 低风险 0 未标注 有
ruflo L3 · 安装规范通过 低风险 7.4 万 未标注 无
OpenViking L3 · 安装规范通过 低风险 3.9 万 未标注 无
WeKnora L4 · 沙盒安装通过 低风险 3.3 万 未标注 有
distilly L4 · 沙盒安装通过 低风险 2.5 万 未标注 有
EverOS L4 · 沙盒安装通过 低风险 1.3 万 未标注 有

仓库档案

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方kyanray-dev仓库 dsh-markdown-input · 默认分支 未标注
分类记忆与知识knowledge
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证Apache-2.0商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 未标注 / 未标注收录时的数值,非实时
创建 / 更新未标注 · 2026-09-30最后推送 未标注
本站收录2026-10-30首次进入本站目录的时间

README 全文

7.4 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-markdown-input

中文 | English

在 DeepSeek Harness(DSH)的输入框里写 Markdown:列表显示为圆点和复选框,粗体、斜体、行内代码、删除线和代码块实时呈现,Shift+Enter 自动续写列表。发送出去的仍是你输入的 Markdown 原文。

功能

显示效果(只改显示,不改文字)

输入 显示
- 项目 / * 项目 / + 项目 • 圆点,列表行略微缩进
- [ ] 待办 / - [x] 完成 ☐ / ☑ 复选框,已完成的项加删除线
1. 第一项 序号加粗,使用主题品牌色
> 引用 左侧竖线,文字变灰
## 标题 加粗、放大,# 变灰
**粗体** *斜体* `代码` ~~删除~~ 中间文字显示对应格式,符号变灰
```js … ``` 等宽字体、底色,关键字、字符串、数字、注释分别上色

圆点、复选框和代码块只对单独成行的内容生效,也就是用 Shift+Enter 换出来的行;粘贴进来的多行文字只做行内高亮。

编辑

  • Shift+Enter 续写列表:在有内容的列表行上按 Shift+Enter,换行并补上下一个标记。- * + 保持不变,9. 续成 10.,- [x] 续成 - [ ],> 保持不变,行首缩进保留。
  • 退出列表:在只有标记的空行上按 Shift+Enter,删除该标记。
  • 选中文字加格式:选中一段文字后按 Cmd/Ctrl+B 加 **,Cmd/Ctrl+I 加 *,Cmd/Ctrl+E 加反引号;再按一次去掉。没有选中文字时这些键保持原来的作用,Cmd+B 仍然开关侧边栏。
  • Enter 行为不变:Enter 发送,Shift+Enter 换行。

插件只会在续写列表和选中加格式时插入文字,其他情况不改动你输入的内容。

安装

需要 dsh CLI 在 PATH 上(npm install -g @deepseek-ai/dsh)。本插件是纯 JavaScript,无需构建。

git clone https://github.com/kyanray-dev/dsh-markdown-input.git
cd dsh-markdown-input
dsh plugin --profile web add ./

然后以该 profile 重启 Harness。DSH Desktop 用户请按 Cmd+Q 完全退出后重新打开。

也可以通过 dsh-market 插件市场安装。

工作原理

  • 高亮使用浏览器的 CSS Custom Highlight API,只影响绘制,不向编辑器插入任何节点。
  • 圆点和复选框:把原来的 - 画成透明,再用 ` 的::before在同一位置画•/☐/☑`;位置按标记字符的实际大小测量。
  • 行的样式通过给 `` 添加 class 实现;编辑器的 MutationObserver 不监听属性变化,因此不会被还原。
  • Shift+Enter 时通过编辑器实例把当前行拆成新段落,并在新段落开头插入标记。段落间隔与行内换行在草稿中同样导出为 \n,发送内容不变。
  • 插件整体包在 try/catch 中:任何异常只会让插件自身停用,不影响 DSH 启动。

限制

  • 标记不会被真正隐藏:** 这类符号会变灰但仍占位置,圆点所在位置仍是原来的 -。这是为了保证发送的文字不变。
  • 粗体用描边模拟,斜体用颜色区分:浏览器的 Highlight API 不支持改字重和字形。
  • 续写依赖编辑器内部字段 __lexicalEditor 与 _pendingEditorState,DSH 升级后可能变化;取不到时退回为原生换行加插入标记,列表行不再缩进,也不显示圆点。
  • 粘贴进来的多行文本位于同一段落内,只做行内高亮。
  • 仅支持 Web 界面(包括 DSH Desktop)。在 DSH Desktop 0.1.7-rc.2 上测试。

卸载

在「设置 → 插件」中关闭或移除 dsh-markdown-input。

许可证

Apache-2.0


English

Markdown authoring in the DeepSeek Harness (DSH) composer: lists show bullets and checkboxes, bold, italic, inline code, strikethrough and fenced code render as you type, and Shift+Enter continues lists. The sent text is still the Markdown you typed.

Features

Presentation (display only, text unchanged)

Input Display
- item / * item / + item • bullet, slightly indented
- [ ] todo / - [x] done ☐ / ☑ checkbox; done items struck through
1. first number bold in the brand color
> quote left bar, muted text
## Title bold and larger, muted #
**bold** *italic* `code` ~~strike~~ content styled, delimiters muted
```js … ``` monospace block with a background; keywords, strings, numbers and comments coloured

Bullets, checkboxes and code blocks apply to lines that stand alone, i.e. lines made with Shift+Enter; pasted multi-line text gets inline styling only.

Editing

  • List continuation on Shift+Enter — on a list line with content, Shift+Enter starts a new line with the next marker: - * + repeat, 9. becomes 10., - [x] becomes - [ ], > repeats. Leading indentation is kept.
  • Leave a list — Shift+Enter on an empty item removes the marker.
  • Format a selection — with text selected, Cmd/Ctrl+B wraps it in **, Cmd/Ctrl+I in *, Cmd/Ctrl+E in backticks; press again to unwrap. Without a selection the keys keep their usual meaning (Cmd+B still toggles the sidebar).
  • Enter unchanged — Enter sends, Shift+Enter inserts a newline.

The plugin only inserts text when it continues a list or wraps a selection.

Install

Requires the dsh CLI on PATH (npm install -g @deepseek-ai/dsh). Plain JavaScript, no build step.

git clone https://github.com/kyanray-dev/dsh-markdown-input.git
cd dsh-markdown-input
dsh plugin --profile web add ./

Restart the Harness with that profile. On DSH Desktop, quit with Cmd+Q and reopen.

How it works

  • Highlights use the CSS Custom Highlight API, which paints ranges without inserting nodes into the editor.
  • Bullets and checkboxes: the real - is painted transparent and the `'s::beforedraws•/☐/☑` over it, positioned from the marker's measured box.
  • Line styles are classes on each line's ``; the editor's MutationObserver ignores attribute changes, so they are kept.
  • On Shift+Enter the plugin splits the current line into a new paragraph through the editor instance and types the marker. Paragraph gaps and line breaks both project to \n in the draft, so the sent text is the same.
  • Everything runs inside try/catch: a failure disables the plugin, never Harness startup.

Limitations

  • Markers are not removed: delimiters such as ** are muted but still take space, and a bullet sits where the - is. This keeps the sent text identical.
  • Bold is simulated with a stroke and italic with colour: the Highlight API cannot change font weight or style.
  • Continuation reads the editor internals __lexicalEditor and _pendingEditorState, which may change in future DSH releases. When they are unavailable the plugin falls back to a native line break plus a typed marker, without indentation or bullets.
  • Pasted multi-line text shares one paragraph, so it gets inline styling only.
  • Web UI only (including DSH Desktop). Tested on DSH Desktop 0.1.7-rc.2.

Uninstall

Disable or remove dsh-markdown-input under Settings → Plugins.

License

Apache-2.0

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-markdown-input 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:kyanray-dev/dsh-markdown-input` 即可。

dsh-markdown-input 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-markdown-input 安全吗?

低风险。

dsh-markdown-input 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-markdown-input 用的是什么许可证?

上游标注为 Apache-2.0。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

1 条
不同作者的仓库分开列,请确认你要装的是哪一个
记忆与知识
按星标排序,可作替代方案

ruflo

ruflo

L3 · 安装规范通过 7.4 万 星

OpenViking

OpenViking

面向 DeepSeek Harness 的 OpenViking 记忆与上下文插件:pre-step 自动召回与画像注入、会话捕获、`vik

L3 · 安装规范通过 3.9 万 星

WeKnora

WeKnora

把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己

L4 · 沙盒安装通过 3.3 万 星

distilly

distilly

Distilly — Distill how they think into reusable Skills for any Agent o

L4 · 沙盒安装通过 2.5 万 星

EverOS

EverOS

L4 · 沙盒安装通过 1.3 万 星

MemOS

MemOS

L4 · 沙盒安装通过 1.2 万 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。