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 pages can be accessed by adding .md
to the end of the URL, which serves the raw MDX we write our docs in.
There are some exceptions to this URL pattern, such as the API reference pages. Refer to llms.txt 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, a new proposed standard that helps LLMs index content.


Copy page


Docs pages have a Copy page dropdown 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