Hacker News new | ask | show | jobs
Serving Markdown Instead of HTML to LLM User Agents (benword.com)
1 points by retlehs 261 days ago
2 comments

Of course instead of using proper Accept/Content-Type headers this whole thing will be vibe-coded on top of user agent sniffing
After Bun reported a 10x token reduction by serving markdown docs to Claude Code, I implemented the same approach for our docs site.