AnakinCao/dsh-md-export0

dsh-md-export

DSH Web 插件,在 Markdown 编辑器工具栏添加导出按钮,支持一键将当前 .md 文件导出为内嵌 Mermaid 图表的独立 HTML,或通过浏览器打印对话框导出为 PDF。

AI 分析

该插件适合需要快速导出 Markdown 文档的用户。它能一键生成含 Mermaid 图表的 HTML 或 PDF,极大提升文档分享效率。安装后需重启 DSH Web 并硬刷新浏览器生效。

套件
dsh-md-export
版本
0.1.0
授權
MIT
最近更新
2026年8月26日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AnakinCao/dsh-md-export

Usage

  1. Open any .md file in better-sidebar (e.g. docs/AOI端保存图片逻辑.md)
  2. Click the "Export ▾" button on the toolbar
  3. 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"