AI Agent Hub
Back to plugins
🖥️

dsh-md-viewer

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install 2017java/dsh-md-viewer

Paste the following prompt into your AI chat to install this plugin:

Install the plugin in DeepSeek Harness by running: dsh plugin install 2017java/dsh-md-viewer. Source repository: https://github.com/2017java/dsh-md-viewer

About this plugin

Opening a .md file in the dsh-better-sidebar panel of DSH shows raw source in the built-in editor, so you must manually flip into preview mode every time just to see the layout. dsh-md-viewer removes that step entirely: the moment you click a Markdown file you get a fully rendered preview—headings, paragraphs, lists, blockquotes, links, images, fenced code blocks, and pipe tables—without overlay or blocking the active conversation, with draggable width on smaller screens.

Code blocks highlight syntax across JavaScript, TypeScript, Python, Bash, JSON, YAML, HTML, and CSS, complete with a language badge and a one-click copy button. Heading levels are collected into a table of contents; clicking an entry scrolls smoothly to that section. HTML comments are stripped and entities are unescaped for clean output. The entire preview is driven by pure React components; no innerHTML is used and no embedded HTML ever executes, eliminating injection risk by design.

If you already run dsh-better-sidebar and frequently read .md docs inside DSH conversations, this plugin saves the back-and-forth between edit and preview modes. Keep in mind it depends on dsh-better-sidebar to activate, and it does not yet render GFM task lists, Mermaid diagrams, or LaTeX formulas. For a more complete standalone rendering experience, pair it with dsh-md-overlay.

Use Cases

  • Click a .md file in a DSH conversation and instantly get a fully rendered preview without switching to editor mode
  • Read technical docs with code blocks and pipe tables, enjoying syntax highlighting, one-click copy, and TOC navigation
  • Browse .md files in dsh-better-sidebar as a lightweight inline preview, without overlays or blocking the active session

Best For

  • DSH users who already run dsh-better-sidebar and want click-to-preview for .md files
  • Developers who frequently read Markdown docs in-session and want to skip the edit-preview toggle
  • DSH client users who prefer inline sidebar previews over standalone overlay panels