AI agents
Which AI agents send Accept: text/markdown (or otherwise
advertise a Markdown preference) when their built-in browse or fetch
tools hit a URL.
Supports means the agent asks for Markdown. Whether it
gets Markdown depends on the server. Claude Code, Copilot CLI, and Microsoft Copilot list
text/markdown and text/html at equal weight
(q=1), so a server that needs Markdown's q to be strictly higher serves
them HTML. See equal q.
Accept: text/markdown, text/html;q=0.9, application/xhtml+xml;q=0.9, application/xml;q=0.8, */*;q=0.7 Accept: text/markdown;q=1.0, text/x-markdown;q=0.9, text/plain;q=0.8, text/html;q=0.7, */*;q=0.1 Follows <link rel="alternate" type="text/markdown" href="https://example.com/page.md"> Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Fetches only HTML Last updated .
Platforms
Platforms that serve Markdown to Accept: text/markdown
requests out of the box or with a single plugin. Check here before
building it yourself — if your stack isn't listed, there's
probably a recipe for it.
enable_markdown_endpoints site setting (on by default for hosted sites) text/markdown and a markdown: renderer; you define to_markdown · Recipe
Last updated .
Verify any platform with curl -sI -H "Accept: text/markdown" https://example.com/page
and look for Content-Type: text/markdown and Vary: Accept.
Verify an AI agent yourself
We test the matrix ourselves, but AI agent behavior shifts across versions, plans, and newly-added tools. You can corroborate any row — or catch a regression — by triggering an agent against your own server and reading the request from your access logs.
1. Capture the Accept header in your logs
Default log formats usually drop it. Add it once:
log_format with_accept '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" '
'accept="$http_accept"';
access_log /var/log/nginx/access.log with_accept; LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" accept=\"%{Accept}i\"" with_accept example.com {
log {
output file /var/log/caddy/access.log
format json
}
}
# JSON access logs include request.headers.Accept by default. 2. Trigger a known AI agent against a specific URL
Pick a URL on your site — ideally a unique or freshly-published one so the request isn't masked by background traffic. Then ask the agent to fetch or summarize it:
- ChatGPT — "Summarize https://yoursite.com/article-xyz" (with the browse tool enabled)
- Claude — "What does https://yoursite.com/article-xyz say?" (requires web_fetch / web_search)
- Perplexity — paste the URL directly into a query
- …and so on for whichever agent you're testing.
3. Report what you saw
Grep for the URL in your access log and send the line(s) to
feedback, along with the agent you used
and the prompt you sent. The accept= field tells us
whether text/markdown was advertised.