dsh-md-plus

Markdown display enhancements for the DSH Web chat, applied on top of the host renderer rather than replacing it: code blocks become cards with a language label and icon-only wrap and copy buttons, long code blocks, tables and Mermaid diagrams fold behind an expand control, Mermaid fences render as SVG with a diagram and code toggle, a fullscreen viewer with wheel zoom, drag and double-click to fit, and SVG or PNG export, tables get a sticky header and CSV or Markdown copy buttons, and a settings panel adjusts the diagram palette, code font size, the default diagram view and the three fold thresholds.

Overview

Markdown display enhancements for the DSH Web chat, applied on top of the host renderer rather than replacing it: code blocks become cards with a language label and icon-only wrap and copy buttons, long code blocks, tables and Mermaid diagrams fold behind an expand control, Mermaid fences render as SVG with a diagram and code toggle, a fullscreen viewer with wheel zoom, drag and double-click to fit, and SVG or PNG export, tables get a sticky header and CSV or Markdown copy buttons, and a settings panel adjusts the diagram palette, code font size, the default diagram view and the three fold thresholds.

Installation

Install from npm

dsh plugin --profile web add dsh-md-plus

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:JosephHy/dsh-md-plus

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.