dsh-md2pdf: Export Markdown to PDF in the Same Directory via the DSH Sidebar

dsh-md2pdf is a sidebar plugin for the DeepSeek Harness client that lets you export an opened Markdown file to PDF directly from a file tab or the file tree. The resulting PDF is written to the same directory as the source file, with no dependency on pandoc or LaTeX. Layout is managed through editable CSS presets, with built-in support for Chinese red-head official documents (GB/T 9704-2012), academic papers (GB/T 7713.2-2022), and Lark style. The plugin supports pdf.* keys in front matter, document-level overrides on the settings page, and an md2pdf_export endpoint for Agent invocation. To install, enter the package name dsh-md2pdf in the plugin manager; Node.js 20.11+ is required. On Desktop, printing uses the bundled Chromium engine; the Web GUI falls back to the local browser, where some header and footer capabilities are limited. Licensed under MIT. Maintainer: evanliu3594.

Read More