acceptmarkdown.com turns Accept: text/markdown into a documented pattern, with copy-paste configs for 15 stacks
Ben Word (acceptmarkdown.com), 152 points on Hacker News·medium signal
Ben Word published a reference site for serving a markdown variant of the page an agent requested, from the same URL that serves HTML to browsers, using HTTP content negotiation. It covers the correctness details people get wrong, Vary: Accept, q-values, returning 406 for unsupported types, and caching, and ships recipes for Nginx, Caddy, WordPress, Discourse, Laravel, Rails, Cloudflare Workers, Next.js, Astro, Apache, SvelteKit, Nuxt/Nitro, Express, Go and Django. There is also a live checker that hits your URL from their edge and reports what the origin actually returns, plus a status matrix of which AI agents currently send the header at all, which is the part worth checking before implementing.