> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: Markdown Routes
description: Every page has a .md route for AI agents and scrapers.
icon: file-text
---

# Markdown Routes

Every docs page in Holocron is also available as agent-readable Markdown by appending `.md` to the URL.

## How it works

| URL              | Returns                            |
| ---------------- | ---------------------------------- |
| `/quickstart`    | HTML page                          |
| `/quickstart.md` | Transformed MDX source as Markdown |

This makes your docs machine-readable out of the box. AI agents, documentation scrapers, and CLI tools can fetch page source without parsing HTML. Holocron strips human-only `<Visibility>` blocks and prepends an agent directive to the response.

## AI agent redirect

Holocron detects AI agents by their User-Agent string and automatically redirects them from the HTML page to the `.md` version with a 302. This means agents requesting `/quickstart` get the Markdown content directly.

The redirect only applies to recognized agent User-Agent strings. Normal browsers always get the HTML page.

## Sitemap comments

The generated sitemap includes comments explaining that agents can append `.md` to page URLs and download `/docs.zip` for the full corpus.


---

*Powered by [holocron.so](https://holocron.so)*
