# Markdown and llms.txt - Docs

LLMs and AI agents love Markdown. Us too. So we've made PostHog's documentation available in Markdown for developers to copy, crawl, and reuse as prompts or context.

## Markdown pages

Nearly every page in our developer docs has a raw Markdown version of itself – including this one!

![Markdown version of this page](https://res.cloudinary.com/dmukukwp6/image/upload/raw_md_112b8b399d.png)![Markdown version of this page](https://res.cloudinary.com/dmukukwp6/image/upload/raw_md_dark_7c1b3013fc.png)

Markdown version of this page

Markdown pages can be accessed by adding `.md` to the end of the URL, which serves the raw [MDX](https://mdxjs.com/) we write our docs in.

| Page URL | Markdown URL |
| --- | --- |
| [https://posthog.com/docs/getting-started/install](/docs/getting-started/install.md) | [https://posthog.com/docs/getting-started/install.md](https://posthog.com/docs/getting-started/install.md) |
| [https://posthog.com/docs/error-tracking/capture](/docs/error-tracking/capture.md) | [https://posthog.com/docs/error-tracking/capture.md](https://posthog.com/docs/error-tracking/capture.md) |
| The page you're on right now 🫵 | [https://posthog.com/docs/ai-engineering/markdown-llms-txt.md](https://posthog.com/docs/ai-engineering/markdown-llms-txt.md) |

There are some exceptions to this URL pattern, such as the API reference pages. Refer to [llms.txt](#llmstxt) to find the exact Markdown URLs for a specific page.

## llms.txt

You can find a directory of all our `.md` pages at [https://posthog.com/llms.txt](https://posthog.com/llms.txt), a new proposed standard that helps LLMs index content.

![llms.txt](https://res.cloudinary.com/dmukukwp6/image/upload/llms_txt_9768b3b49d.png)![llms.txt](https://res.cloudinary.com/dmukukwp6/image/upload/llms_txt_dark_f207eb35de.png)

## Copy page

![Copy page dropdown](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/pasted_image_2025_11_21_T17_24_54_989_Z_31fe1917c6.png)![Copy page dropdown](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/pasted_image_2025_11_21_T17_24_54_989_Z_307e9b4483.png)

Docs pages have a menu in the bottom right corner of the window with shortcuts to:

-   Copy the Markdown content to your clipboard
-   View the raw Markdown version of the page
-   Open a prompt in ChatGPT to read the page
-   Open a prompt in Claude to read the page

### Community questions

Ask a question

### Was this page useful?

HelpfulCould be better