pandoc可以将markedown文件进行多种格式转换,包括docx,html
软件下载
Pandoc Windows 64位下载地址 百度网盘,密码:czc5
Git Windows 64位下载地址 百度网盘,密码:b5t6
软件操作:
- 安装好上述的pandoc软件
- 打开cmd,输入pandoc --version,检查pandoc软件是否正常安装
pandoc -h #或者
pandoc --version
pandoc.exe 2.10.1
Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
Default user data directory: C:\Users\huang\AppData\Roaming\pandoc
Copyright (C) 2006-2020 John MacFarlane
Web: https://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
- 切到需要转换的目录 使用以下命令进行markdown文件格式的转换
pandoc -i xxx.md(文件名) -o xxx.html #转换为html格式
pandoc -i xxx.md(文件名) -o xxx.docx #转换为docx格式