Installation steps
安装PPTX2MD前需要满足以下条件:
- 系统需安装Python 3.10或更高版本
- 通过pip包管理器进行安装
具体安装命令:pip install pptx2md
Basic use
基本转换命令:pptx2md [pptx文件名]
转换后会生成默认输出文件out.md
,提取的图片保存在/img/
folder.
Common Usage Scenarios
- Customizing the output path::
pptx2md [文件名] -o [输出路径]
- Customized Image Catalog::
pptx2md [文件名] -i [图片目录]
- Setting the image width::
pptx2md [文件名] --image-width [宽度]
- 禁用功能选项As
--disable-image
Disable image extraction
This answer comes from the articlePPTX2MD: Specialized tool for converting PPTX files to MarkdownThe