#3973·mkdocs

Support for serving raw markdown

Author: upmanCreated May 12, 2025Updated Sep 15, 2026

LLMs are beginning to access documentation sites with MCP servers acting as intermediaries. Lots of them crawl documentation sites and convert the html back to markdown. This is inefficient and the markdown -> html -> markdown conversion often leaves a lot of additional irrelevant text in the output.

Can mkdocs support a text/markdown content-type header and serve the raw markdown?

Happy to look into what it takes to implement this if there is interest/alignment on this.