惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
L
LangChain Blog
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
D
DataBreaches.Net
P
Proofpoint News Feed
小众软件
小众软件
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
雷峰网
雷峰网
G
Google Developers Blog

博客园 - 朱小勇

Qt通信架构 C/C++导出库版本问题 高速互联常用概念 pyflow使用 两路 IQ 复数相除 minizip使用 解决Qt无法cdb调试问题 使用zadig-安装winusb驱动 libusb编译 word设置表和图的自动编号 DAC、AOC、AEC、ACC说明 技能包:qtwidget-instrument-control SKILL技能包学习 T参数 Python查看某个库版本并更新 C++通过pybind11与Python互调 数字信号处理-C++开源库 C++实现窗函数 C++-FFTW C++-Eigen SI-python工程参考 PAM4相关概念 win11共享文件夹 Qt使用QSplashScreen实现软件启动过渡界面 QGroundControl 建议尺寸 封窗知识 网分的触发学习 豆包生成图片去除水印 matlabe东向偏移、北向偏移、垂直偏移转经纬度
Anydoc使用
朱小勇 · 2026-08-13 · via 博客园 - 朱小勇

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. · GitHub

Python教程:anydoc/python/README.md at main · firecrawl/anydoc · GitHub

3、安装

方式1:在Assets里下载whl文件,然后:pip install xxx.whl

方式2:pip install firecrawl-anydoc

4、pdf转md

import anydoc

# From a file path:
markdown = anydoc.to_markdown("test.pdf")

# 打开文件写入,utf-8编码避免中文乱码
with open("output.md", "w", encoding="utf-8") as f:
    f.write(markdown)