DeepSeek Harness plugin

dock-markdown

Markdown viewer for the dock file explorer: renders .md/.markdown/.mdx files with a one-click switch to the text editor.

Jump to install

Source facts

Repository
AKS1st/dock-markdown
Latest update
Aug 21, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/AKS1st/dock-markdown
Plugin: dock-markdown
Author: AKS1st

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

dock-markdown

中文

> The best Markdown viewer plugin in the DSH ecosystem — no contest. GFM rendering, DOMPurify sanitization, a document outline, relative image/link resolution and one-click switch to editing — for READMEs, docs or drafts, dock-markdown gives Markdown an editor-grade experience in DSH for the first time.

Markdown viewer plugin of the dock family: registers the markdown file viewer (md / markdown / mdx) against the dock-files file domain plus the matching editor-area view. File content is read through dock-editor's /desk-editor/fs.read route, rendered with marked + DOMPurify into sanitized HTML, with a one-click switch to editing in dock-editor.

Preview

![dock-markdown Markdown viewer](assets/image.png)

Features

  • Markdown rendering: marked (GFM) + DOMPurify sanitization, output is static HTML only.
  • Relative asset resolution: relative images and internal file links in Markdown resolve with the priority Markdown directory → git repository root of the current path → session workspace root; images are inlined as data URLs, internal links open the target through the workbench on click, and #anchor links smooth-scroll to the matching heading.
  • Document outline: the toolbar ☰ button toggles an outline rail listing h1–h6 indented by level; clicking an entry jumps to the heading, and scrolling highlights the section currently in view.
  • Viewer switch: toolbar button switches between view and edit (dock-editor) in one click.
  • Theme aware: typography uses DSH theme tokens and follows light/dark themes.
  • Common GFM elements (code blocks, tables, blockquotes, ...) get styled typography.

Dependencies

DependencyTypeNotes
dock >= 0.1.0peer (required)workbench shell: the editor-area view, floating windows and ctx.workbench come from it
dock-files >= 0.1.0peer (required)file-domain service: dock-markdown is dispatched as the markdown viewer
dock-editor >= 0.1.0peer (required)provides /desk-editor/fs.read for file content and the editor view that the one-click switch opens
DSH Web environmentruntimerequired; client platform is Web
cordis ^4.0.0-rc.7peerplugin framework (ships with DSH)
react ^18.2.0peer (optional)needed for client rendering; without it the viewer UI does not activate
marked / dompurifybundled (build-time)GFM rendering and sanitization; shipped with the plugin, no separate install needed

Install

Requires dock, dock-files and dock-editor (the view switch opens its editor view):

dsh plugin add github:AKS1st/dock
dsh plugin add github:AKS1st/dock-files
dsh plugin add github:AKS1st/dock-editor
dsh plugin add github:AKS1st/dock-markdown

Security

All raw HTML produced by marked passes through DOMPurify.sanitize() (default allowlist) before touching the DOM; dangerouslySetInnerHTML is only used on sanitized output. Known trade-off: DOMPurify's defaults allow the style attribute, so a malicious Markdown file could in theory use CSS for external tracking — add FORBID_ATTR: ['style'] if you need stricter sanitization.

Relative assets are not confined to the session workspace: a Markdown file can live anywhere on the host (the conversation context may mention files outside it, e.g. ~/.dsh/skills/...), and its relative images / internal links resolve with the priority Markdown directory → git repository root → session workspace root — any existing candidate file is served.

License

MIT