Implement Markdown Content Negotiation
Support Accept: text/markdown content negotiation so agents can request
markdown versions of your pages.
See llmstxt.org and
Markdown for Agents.
Requirements
- When a request includes
Accept: text/markdown, return a markdown representation of the page - Set
Content-Type: text/markdownon the response - HTML remains the default for requests without the markdown accept header
- Include an
x-markdown-tokensheader with the token count if available
Cloudflare
Markdown for Agents enables this automatically for Cloudflare zones — no application code changes needed.
Validate
POST https://isitagentready.com/api/scan
Content-Type: application/json
{"url": "https://YOUR-SITE.com"}
Check that checks.contentAccessibility.markdownNegotiation.status is "pass".