工具准备
pandoc是开源的工具,可以进行多种格式转换
https://github.com/jgm/pandoc
https://github.com/jgm/pandoc/blob/master/INSTALL.md
安装完后重启
转换方法
通过命令行的方式
Pandora -o f.md f.docx —extract-media=image
-o f.md输出文件
f.docx 输入文件
—extract-media=image 图片不会丢失,并且把图片保存在image目录