DEV Community
•
2026-04-19 22:11
Cloudflare Workers HTML to Markdown on the Free Plan
This is a condensed version. Full article on cogley.jp has the complete code walkthrough, known limits of the starter emitter, and the full reasoning for each alternative.
AI crawlers — Gemini, GPT, Claude, Perplexity — read your site constantly, and they'd rather parse markdown than HTML. Markdown means cleaner context, fewer tokens, cheaper inference.
If your content is already markdown (CMS...