Markdown content negotiation
Serving a markdown copy of a page at the same URL when a request asks for it with Accept: text/markdown, while browsers still get HTML.
Also called Markdown for agents, Accept: text/markdown.
HTTP content negotiation lets one URL return different formats depending on the request's Accept header. Markdown content negotiation applies it to agents: a request that sends Accept: text/markdown gets the page as markdown, with Content-Type: text/markdown, and a browser that asks for HTML gets HTML as before. The response should carry Vary: Accept so a cache never hands one version to the other kind of client.
Markdown leaves out navigation, scripts and styling, so an agent has less to download and parse. Cloudflare offers this as Markdown for Agents, converting HTML at its edge for zones that turn it on. A site can also build the markdown itself from the same source as the page.
Cloudflare's Is It Agent Ready scanner requires it for level 3 (Agent-Readable).
In Zine
tryzine.ai answers Accept: text/markdown on every page with a markdown copy written at build time from the same content, and sends Vary: Accept. Zine's agent readiness check asks for the home page as markdown and checks the Content-Type that comes back.
Sources
Related terms
- llms.txt: llms.txt is a proposed markdown file at a site's root that gives language models a short summary and a list of links to the site's key pages.
- Search for Agents: Search for Agents is a Cloudflare convention for a site search at /.well-known/search that answers an agent with markdown, not a generated answer.
- Agent readiness score: A number from 0 to 100: the share of scored agent readiness checks a site passes, as Cloudflare's Is It Agent Ready scanner counts them.