LeslieWylie/dsh-md-preview

Render Markdown to a standalone, self-contained HTML page: an md_html_render tool that works in a headless profile, plus a web drawer to browse, preview, edit and export local .md files; both share one renderer, with no runtime dependencies.

A Markdown renderer for DSH with two front doors and one engine: the md_html_render model tool (give it Markdown, get a complete self-contained HTML document, optionally written to disk; works in a headless profile with no GUI) and the MD drawer (press MD in the web session header, browse the working directory, click a .md file to render in place — no new tab, no second editor). Both go through the same renderer, so a model-generated page and a drawer export are byte-for-byte identical.

Tools & Capabilities ★ 2 updated 2026-08-18
View on GitHub ↗

Install

dsh plugin --profile web add github:LeslieWylie/dsh-md-preview#v0.3.0

Renamed in v0.3.0: the package was dsh-md-preview through v0.2.2, but that npm name was registered by an unrelated project on 2026-08-17, so this one publishes as dsh-md-html-render. Installing dsh-md-preview from npm gets the OTHER project. Install from GitHub — add "dsh-md-html-render": "github:LeslieWylie/dsh-md-preview#v0.3.0" to the profile's package.json dependencies + "dsh": {"profile": {"bundles": ["dsh-md-html-render"]}}, then cd ~/.dsh/profiles/<profile> && pnpm install and dsh --profile <profile>. Alternative single-run mount: dsh --profile web --patch <(printf -- "- insert:\n - id: md-preview\n name: dsh-md-html-render\n") after the pnpm install.

Compatibility

DSH web profile; works headless (no GUI needed for the tool path); tool + client drawer.

Details

Recent updates

md_html_render tool + in-session MD drawer; self-contained HTML output; headless-capable; byte-identical rendering across both paths.

FAQ

Why not install dsh-md-preview from npm?
The npm name dsh-md-preview was registered by an unrelated project on 2026-08-17; this plugin now publishes as dsh-md-html-render. Use the GitHub pin.
Can it render without a GUI?
Yes — the md_html_render tool works in a headless profile with no GUI at all, optionally saving the HTML to disk.
How do I render a file quickly?
Press MD in the session header to open the drawer, browse your working directory and click any .md file — it renders in place.

Alternatives

ZSeven-W/dsh-openpencil · cyijun/dsh-surfing-plugin · THU-MAIC/dsh-openmaic

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins