
1、说明可快速将各种文件转为md文件2、开源网址GitHub - firecrawl/anydoc: Convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF to clean Markdown. Built in Rust, with Node.js and Python bindings. · GitHubPython教程anydoc/python/README.md at main · firecrawl/anydoc · GitHub3、安装方式1在Assets里下载whl文件然后pip install xxx.whl方式2pip install firecrawl-anydoc4、pdf转mdimport anydoc # From a file path: markdown anydoc.to_markdown(test.pdf) # 打开文件写入utf-8编码避免中文乱码 with open(output.md, w, encodingutf-8) as f: f.write(markdown)