Sorry, we don't support your browser.  Install a modern browser

Allow requesting Content representation using the 'Accept' Header

Right now, content representations can only be explicitly requested using the extension. For example, https://getkirby.com/docs/reference.md will yield the markdown version of the reference.

AI Agents such as Claude Code, etc. don’t know a site has this representation. So they have started to set the ‘Accept’ header to text/markdown to request a markdown version of the site if available.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept

It’d be very nice if the content representations had a way to be served on the main URL (https://getkirby.com/docs/reference) as markdown if the Accept header is correct.

5 months ago

Is it mainly Accept: text/markdown or are you aware of others too?

5 months ago

Only heard of markdown so far for this AI case

5 months ago
4 months ago