跳到正文

正在自动登录…

← 返回项目列表

Roland0511/dsh-marktext

Markdown编辑

为 DeepSeek Harness 右侧边栏提供所见即所得 Markdown 编辑器插件,可打开并编辑 .md 文件,支持标题、表格、数学公式、图表和图片,并可直接保存回磁盘。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/3 16:07:27 · 查看原文

值得看JavaScript应用与服务
累计 Stars
56
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/11/3 16:07:27

使用方式

作为 DeepSeek Harness 的插件使用,可通过 DSH 应用内插件管理或命令行安装,在侧边栏文件树中点击 .md 文件即可打开编辑。

查看 README 依据
- Toolbar with the file name, unsaved dot, status and a Save button; `⌘S` / `Ctrl+S` saves any time - Undo and redo with `⌘Z` / `⇧⌘Z` (and `Ctrl+Z` / `Ctrl+Shift+Z`) - Autosave 2.5 s after you stop typing - Follows the host light/dark theme - Relative images in the markdown (`![](assets/a.png)`) resolve against the document's own folder ## Install ### 1. From the DSH app (recommended) Sidebar → **Plugins** → **Add plugin** → **Install a third-party plugin**, enter: ``` dsh-marktext ``` Then click **Enable now** and restart the app once. Open any `.md` file.
### 2. Command line (web profile) ```sh dsh plugin --profile web add dsh-marktext ``` ### 3. Manual (desktop profile) The desktop app manages its `desktop` profile itself, so `dsh plugin --profile desktop` is rejected. Edit `~/.dsh/profiles/desktop/package.json` instead: ```jsonc { "dsh": { "profile": { "bundles": [..., "dsh-marktext"] } }, "dependencies": { ..., "dsh-marktext": "^0.1.1" } } ``` ```sh cd ~/.dsh/profiles/desktop && pnpm install ``` Then restart the app. ### From GitHub instead of npm
部署要求

需要 DeepSeek Harness 0.2.1 或更高版本,并具备特定的 API 支持。如果从源码构建,需要 Node.js 20 或更高版本。

查看 README 依据
Anywhere a package name is accepted you can use `github:Roland0511/dsh-marktext` (the built renderer is committed, so no build step is needed). ## Requirements - DeepSeek Harness **0.2.1+** with `ctx.sidebarRightTabs`, `ctx.slots`, `ctx.fs` and `ctx.webServer` - Node **20+** only if you build from source ## Architecture ``` DSH Web (React) lib/client.js ── registers sidebar tab kind `marktext` (patterns: *.md) │ tab body = <iframe src="/dsh-marktext/renderer/<token>/index.html"> │ postMessage (a single envelope: __dshmkt) ▼
已知限制

仅支持相对路径的图片,不支持绝对路径和 file:// URL。没有插入选中内容到聊天、文件树操作和 PDF 导出功能。与 dsh-markdown-typora 插件冲突,两者只能安装一个。

查看 README 依据
`typeRegistered`, `bodyRegistered` and `errors` tell you which step failed. ## Known limitations - **Relative image paths only** — `/absolute/a.png` and `file://` URLs are not resolved yet. - No "insert selection into chat", no file tree operations, no PDF export — these are next. - Package size: ~4 MB tarball (~9.4 MB unpacked, 745 files); first paint ~1.6 MB (≈470 KB gzip), with Mermaid/Vega/Prism chunks loaded on demand. - Overlaps with `dsh-markdown-typora`: both register `*.md` in the `extension` band, so only one of them wins; install one or the other.

README

正在加载 README…

收录信息

仓库创建时间
2026/11/2 16:45:00
首次达标收录
2026/11/3 16:01:41
统计更新时间
2026/11/3 17:32:19

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.0 / 5

新颖度
3.5
实用价值
4.2
成熟度
4.8
实质含量
3.9

由 Jev 模型根据仓库描述与 README 评估,2026/11/3 16:01:41 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/11/3 16:21:57
许可证标识
MIT
Fork 数
4
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目