dsh-md-export
DSH web plugin (dsh-better-sidebar companion): adds an export button to the markdown editor toolbar — one-click export of the current .md file to standalone HTML (with mermaid diagrams inlined) or PDF (via browser print dialog)
AI Analysis
该插件适合需要快速导出 Markdown 文档的用户。它能一键生成含 Mermaid 图表的 HTML 或 PDF,极大提升文档分享效率。安装后需重启 DSH Web 并硬刷新浏览器生效。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AnakinCao/dsh-md-exportREADME
Read the full README ↗Usage
- Open any
.mdfile in better-sidebar (e.g.docs/AOI端保存图片逻辑.md) - Click the "Export ▾" button on the toolbar
- Choose:
- Save HTML (same dir): the HTML is written next to the md (e.g.
docs/AOI端保存图片逻辑.html), layout matches the md preview - Export PDF (print): the print dialog opens; choose "Save as PDF"
- Save HTML (same dir): the HTML is written next to the md (e.g.