Which AI agents and platforms support Markdown content negotiation?

3 min read Original article ↗

Status

Support matrix.

Which AI agents send Accept: text/markdown when their browse or fetch tools hit a URL, and which platforms answer it without custom code.

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.

Agent

Status

Mechanism

Verified

Claude Code Anthropic

Supports

Accept: text/markdown, text/html, */*

Copilot Chat (VS Code) GitHub / Microsoft

Supports

Accept: text/markdown, text/html;q=0.9, application/xhtml+xml;q=0.9, application/xml;q=0.8, */*;q=0.7

Copilot CLI GitHub / Microsoft

Supports

Accept: text/markdown, text/html, */*

Cursor Anysphere

Supports

Accept: text/markdown, text/plain;q=0.9, */*;q=0.8

Microsoft Copilot Microsoft

Supports

Accept: text/markdown, text/html, */*

OpenClaw OpenClaw

Supports

Accept: text/markdown, text/html;q=0.9, */*;q=0.1

OpenCode SST

Supports

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

Codex CLI OpenAI

Partial

Follows <link rel="alternate" type="text/markdown" href="https://example.com/page.md">

Aider Aider

No

Fetches only HTML

ChatGPT (browse) OpenAI

No

Fetches only HTML

Claude.ai (web app) Anthropic

No

Fetches only HTML

Cline Cline

No

Fetches only HTML

Devin Cognition

No

Fetches only HTML

Gemini (web app) Google

No

Fetches only HTML

Gemini CLI Google

No

Fetches only HTML

Grok xAI

No

Fetches only HTML

Perplexity Perplexity

No

Fetches only HTML

v0 Vercel

No

Fetches only HTML

Windsurf Cognition

No

Fetches only HTML

Zed Zed Industries

No

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.

Platform

Support

How

Verified

Discourse Forum

Built in

enable_markdown_endpoints site setting (on by default for hosted sites)

Cloudflare CDN

Built in

Markdown for Agents dashboard toggle; converts origin HTML to Markdown at the edge · Guide

WordPress CMS

Plugin

roots/post-content-to-markdown · Recipe

—

Rails Ruby

Framework

Rails 8+ registers 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;

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.