美文网首页
window下pandoc的如何使用

window下pandoc的如何使用

作者: xianghx | 来源:发表于2020-08-14 22:12 被阅读0次

pandoc可以将markedown文件进行多种格式转换,包括docx,html

软件下载

Pandoc Windows 64位下载地址 百度网盘,密码:czc5

Git Windows 64位下载地址 百度网盘,密码:b5t6

软件操作:

  • 安装好上述两个软件
  • 在要转换文件格式的目录下,右键选择 git bash
  • 运行下面命令,检查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格式
  • 其他的参数和命令可以自行再摸索

相关文章

网友评论

      本文标题:window下pandoc的如何使用

      本文链接:https://www.haomeiwen.com/subject/rdondktx.html