Changelog
Return Markdown with Accept: text/markdown header
February 16, 2026
When a page in your documentation is accessed with the Accept: text/markdown header, Basedoc will render the page's Markdown content instead of HTML.
Many LLMs and AI agents will use this header to access your documentation. Serving Markdown reduces token usage and speeds up the response time.

