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

推荐订阅源

Vercel News
Vercel News
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
C
Check Point Blog
博客园 - 聂微东
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
U
Unit 42
WordPress大学
WordPress大学
B
Blog
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
D
DataBreaches.Net
G
Google Developers Blog
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家

herrkaefer

"Vibe planning \u003e vibe coding" "Built anocus: anonymous commenting for static sites" "日记与小说 -- AI 续写小说欣赏" "Any-podcast: from newsletters to a podcast" "Made MicPipe: a simple voice input tool using ChatGPT dictation" "关于 Tools 和 Skills 的一点感想" "Realtime monitoring of ComEd hourly price" "Introducing SwiftEdgeTTS" "Thoughts on the philosophy of building AI-native apps" "jelly鼻屎" "等饭的人" "Use home assistant to motivate my kid to brush teeth" "Migrated Blog to Hugo and Cloudflare Pages" "Easy Aspen monitoring for Chicago parents" "Introducing HabitBuilder: A simple Telegram bot for habit tracking" "鼓捣" "Open folder or file with Sublime Text from Finder toolbar" "Python dev workflow on macOS" "Create new text file from Finder toolbar" "Uno reinvented for 3-year-old kids" "Uno变身儿童数字游戏" "自动转发Twitter到微博" "Handle annoying operations of objects in Realm DB" "Move Jekyll blog to Ubuntu VPS" "Introducing Mole" "Note taking without note taking app" "Deploy Python web application on Ubuntu server" "Setup Shadowsocks / VPN on Ubuntu Server" "Linode Notes - Basic Setup" "CLASS Style Adapted for Embedded Systems"
"Anything to Markdown"
"herrkaefer" · 2026-02-27 · via herrkaefer
                     __  __    _            ___                 __
  ____ _____  __  __/ /_/ /_  (_)___  ____ |__ \ ____ ___  ____/ /
 / __ `/ __ \/ / / / __/ __ \/ / __ \/ __ `/_/ // __ `__ \/ __  / 
/ /_/ / / / / /_/ / /_/ / / / / / / / /_/ / __// / / / / / /_/ /  
\__,_/_/ /_/\__, /\__/_/ /_/_/_/ /_/\__, /____/_/ /_/ /_/\__,_/   
           /____/                  /____/                         

Markdown is the “food” for AI agents. Cloudflare recently introduced Markdown conversion functionality, which allows you to convert multiple file formats into Markdown using their API. Additionally, you can use Browser rendering to turn any URL into Markdown output.

I recently created two small projects that wrap these Cloudflare features, making them easy to integrate into your applications:

Take anything2md for example, all the format or url are hidden behind a unified API:

import anything2md
md = anything2md.transform("https://www.example.com")
md = anything2md.transform("https://pub-979cb28270cc461d94bc8a169d8f389d.r2.dev/somatosensory.pdf")
md = anything2md.transform("https://pub-979cb28270cc461d94bc8a169d8f389d.r2.dev/cat.jpeg")
print(md.markdown)

Supported input formats include PDF, images, HTML, XML, XLSX, DOCX, CSV, Numbers, and more.

Taking a look at the output text of some webpages or pdfs, it doesn’t give perfect markdown layout, but as in most cases, this contents will be fed into AI agents, so it’s good enough.

Cloudflare doesn’t mention the exact rate limit for this feature, but it should be generous enough for light use cases.