Raymond-Leung7/dsh-md2pdf ↗★ 0
@raymondstudio/dsh-md2pdf
DSH plugin: convert Markdown to print-friendly PDF (A4, CJK fonts, tables with repeated headers). Provides the md_to_pdf model tool.
AI 분석
核心用途是快速将 Markdown 文档排版并导出为高质量 PDF。适合需要撰写报告、文档并进行打印或分享的用户。AI 代理可直接调用该工具根据用户口令生成 PDF。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
使用
重启 dsh 后,直接对模型说:
把
xxx.md转成 PDF,标题用"文档标题",A5 横向,字号 11
或显式指定全部参数:
| 参数 | 说明 |
|---|---|
input | 输入 Markdown 文件路径(必填) |
output | 输出 PDF 路径(缺省同目录同名 .pdf) |
title | 文档标题(页眉,缺省取文件名) |
pageSize | A4 / A5 / Letter(默认 A4) |
orientation | portrait / landscape |
fontSize | 正文字号 pt(默认 10.5) |
margin | 左右页边距 mm(默认 14) |