Preface¶
When writing documentation, modifying READMEs, or maintaining plugin descriptions in DeepSeek Harness (DSH), the common practice is: find .md files from the workspace file tree, copy them to an external editor, and then paste them back or switch back to the terminal after saving. This adds an extra window switch and easily disconnects from the conversation and task context within the Harness.
The following introduces the community plugin dsh-md-editor (maintainer Zhang1025681484): click on a Markdown file in the official workspace file tree, and an editable tab opens directly in the right sidebar, based on Monaco, with auto-save, no separate page or back-and-forth pasting needed.
What Is This¶
dsh-md-editor is a DSH client category plugin (community catalog classification: client). In one sentence: it provides editable Markdown tabs in the Harness right sidebar—open .md files from the workspace file tree, edit them within the sidebar, and write back to disk.
- Repository: github.com/Zhang1025681484/dsh-md-editor
- Community catalog: skillhub.cn/plugins/Zhang1025681484/dsh-md-editor
- License: MIT (see repository
LICENSE) - Version (package.json): 1.0.0
- Engine requirement: DeepSeek Harness >= 0.2.0-rc.2 (developed and verified on
0.2.0-rc.2)
The plugin runs with the current DSH process permissions; it is recommended to review the source code and license before installation.
Core Features¶
The following capabilities come from the repository README and are only a summary of verified features.
In-place Open and Edit¶
- Registers an independent Sidebar tab type, matching
*.md/*.markdown. Clicking on files in the official file tree opens an editable tab directly on the right side, rather than just a read-only preview. - Monaco editor: line numbers, Markdown syntax highlighting, automatic line wrapping. If Monaco fails to load, it degrades to a plain text
textareawith line numbers (still editable). - Monaco 0.52.2 is bundled in
vendor/monaco(approximately 13 MB), fully usable offline.
Save and Reload¶
- Auto-save: writes to disk after input stops for about 1.5 seconds; Ctrl/Cmd+S saves immediately.
- Reload: discards unsaved local changes and re-reads from disk.
Preview Handoff¶
- The Preview button hands off the same file to the official documentation tab (kind
text), using built-in rendering (Markdown / code / plain text). Ifdsh-md-studiois installed, it can also be used in conjunction with Mermaid, KaTeX and other preview capabilities.
This plugin does not provide embedded Markdown rendering; its positioning is as an editor, not a reader.
Installation and Enablement¶
Installation commands follow the original README. Replace <your-profile> with your DSH profile.
# from npm (once published)
dsh plugin --profile <your-profile> add dsh-md-editor
# from GitHub
dsh plugin --profile <your-profile> add github:Zhang1025681484/dsh-md-editor
# from a local directory
dsh plugin --profile <your-profile> add file:/absolute/path/to/dsh-md-editor
In the Electron desktop version, the desktop profile is managed by the application itself, and the CLI cannot install plugins to it—please paste the local path or package name in Settings → Plugins → Add plugin.
After installation is complete:
- Fully restart DSH (host-side JavaScript modules are cached per process).
- Confirm the plugin is enabled in the plugin list.
Typical Usage¶
- Open the right sidebar → Files tab.
- Click any
.mdfile → opens in the Markdown Editor tab. - Edit; pause for about 1.5 seconds, or press Ctrl/Cmd+S.
- After successful write, the status bar shows
已保存(版本 …).
When you only need to view the rendered effect, use Preview to jump to the official documentation tab, or combine with dsh-md-studio and other preview plugins.
Use Cases and Considerations¶
Who Is It For¶
- Developers who frequently modify Markdown (project documentation, plugin READMEs, task notes) in the DSH workspace.
- Users who want to keep editing on the same screen as the Harness and reduce switching to external editors.
Known Limitations (Please Note Before Use)¶
- No conflict protection: saving will unconditionally overwrite. The designed
replaceIfVersionguard is currently disabled (themtimeNssegment in theversionstring returned by the Remote layer is rewritten during transmission, causing every save to be misidentified as a stale conflict). If you want to use the disk version as the source of truth, please use Reload. - No Markdown rendering: use this plugin for editing; use Preview or
dsh-md-studiofor reading/previewing. - Large file truncation: files exceeding approximately 5,000 lines/page × 40 pages (approximately 200,000 lines) will be truncated, and the status bar will warn; do not save already truncated content.
- Interface text: currently hard-coded in Chinese, not yet connected to the client locale service.
- Debug logs: the plugin directory will write
.client-beacon.log(debug beacon), which can be safely deleted.
Ecosystem Notes¶
DSH adopts an “everything is a plugin” extension approach; community catalogs such as SkillHub are independent sites, with no official affiliation with DeepSeek / High-Flyer. The star count of this plugin is based on the community catalog display (currently 0), which does not mean the functionality is unavailable. Installation and troubleshooting still follow the GitHub README.
Conclusion¶
dsh-md-editor brings “click file → edit → write back to workspace” into the Harness right sidebar, suitable for keeping Markdown maintenance within the same development environment. See the GitHub repository for installation, limitations, and architecture details; see the SkillHub catalog page for community indexing.