1 , 安装软件
官网:Pandoc - Installing pandoc
2,打开cmd,切换到word文件所在的目录
这个不会可以自行百度不难。。。
3,在根文件目录下输入如下这行代码
pandoc -f docx -t markdown --extract-media=media -o output.md input.docx
-f docx:指定源文件为 docx 格式(from)
-t markdown:指定我们要转为 md 格式(to)
-o output.md:表示输出的文件名为 output.md(output)
input.docx:表示要转换的文件为 input.docx
Pandoc - Pandoc User’s Guide
Pandoc - Installing pandoc
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)