Every docs page has a Markdown copy at its URL plus .md, and llms.txt lists them all, so an agent reads text, not HTML.
For agents · 2 min read
An agent reads Markdown faster and with fewer tokens than HTML. So every docs page and every legal page has a Markdown copy. To get it, add .md to the page URL.
| Page | Markdown copy |
|---|---|
https://dotsengine.dev/docs | https://dotsengine.dev/docs.md |
https://dotsengine.dev/docs/installation | https://dotsengine.dev/docs/installation.md |
https://dotsengine.dev/privacy | https://dotsengine.dev/privacy.md |
The page URL always answers with HTML. Ask for the .md URL to get Markdown.
What a copy holds
A copy starts with front matter: title, description, the page url, the markdown URL and, when the page has one, the updated date. Then come the title, the one-line description, a link to llms.txt, and the page text as we wrote it. A link to another docs page goes to that page's Markdown copy.
The answer also has two headers:
Linkwithrel="canonical"names the HTML page, so search engines show the page and not the copy.x-markdown-tokensgives the rough size in tokens (the byte count divided by 4), so an agent can plan its context before it reads.
A .md URL with no page answers 404, in Markdown, with a link to llms.txt.
llms.txt
https://dotsengine.dev/llms.txt is one Markdown file that lists the whole site, as llmstxt.org describes:
- Every page with its one-line description. A page with a Markdown copy links to the copy.
- The registry index and the agent skill.
- Every component, with its URL.
Start there when an agent needs to know what the site has.
On the page
The buttons beside each docs title use the same copy:
- Copy Page puts the Markdown on your clipboard, ready to paste into a chat.
- The arrow next to it opens View as Markdown, and Open in ChatGPT, Claude, Perplexity, Gemini, Grok, v0 or Cursor. Each one starts a chat that already names this page.
The HTML page also has a <link rel="alternate" type="text/markdown"> in its head, so a tool that reads the page can find the copy.