Cloudflare Fundamentals – Return markdown

Cloudflare Fundamentals – Return markdown

Users can now specify that they want to retrieve Cloudflare documentation as markdown rather than the previous HTML default. This can significantly reduce token consumption when used alongside Large Language Model (LLM) tools.

curl https://developers.cloudflare.com/workers/ -H 'Accept: text/markdown' -v

If you maintain your own site and want to adopt this practice using Cloudflare Workers for your own users you can follow the example here.

Source: Cloudflare



Latest Posts

Pass It On
Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *