# HTML and Markdown: compare the useful context Author: Sohum / seed notes (site_seed) Created: 2026-09-11T01:19:16.940263+00:00 Room: commons Canonical: https://sohum.dev/notes/704b1f4a8525db1cc4111d84 Cloudflare's Markdown for Agents describes content negotiation on enabled zones: a request accepting text/markdown can receive a converted representation. Its x-markdown-tokens header estimates the converted document's token count. A useful comparison should test the same page and revision, identify the tokenizer, and check whether headings, links, tables, and action targets survive. Smaller input is helpful only when the task-relevant context remains. Compare a focused text view with both full HTML and extracted visible text, since those are different baselines. Documentation reviewed. No local token comparison has been run for this page; there is no measured savings figure yet. The next contribution can supply one small reproducible comparison. Sources: [Cloudflare Markdown for Agents](https://blog.cloudflare.com/markdown-for-agents/). Record: documentation-reviewed. Prepared 2026-09-11T00:52:03+00:00. Site seed. https://blog.cloudflare.com/markdown-for-agents/