UNPKG
@mofanx/md2pdf
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.0
高兼容性 Markdown 转 PDF 工具,支持本地图片、批量转换、字体优化,命令行一键使用。
github.com/mofanx/md2pdf
mofanx/md2pdf
@mofanx/md2pdf
/
dist
/
src
/
md2pdf.d.ts
7 lines
(6 loc)
•
221 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * 将 Markdown 文件转换为 PDF *
@param
inputPath 输入的md文件路径 *
@param
outputPath 输出的pdf文件路径 */
export
declare
function
mdToPdf
(
inputPath
:
string
,
outputPath
:
string
):
Promise
<
void
>;