使用Editor在线编辑器编辑好之后
http://pandao.github.io/editor.md/打开全屏预览后,右键点击检查
复制需要的html代码并保存到本地,添加必要的head、html等标签,命名为example.html
打开source窗口,复制需要的editormd.min.css文件到本地与example.html同级目录
在example.html中添加依赖
<link rel="stylesheet"type="text/css"href="editormd.min.css">
在chrome中预览形成的html文件,并使用chrome的打印功能即可转换为pdf
md转pdf的方法
最新推荐文章于 2025-07-10 17:58:09 发布