Markdown and llms.txt

Last updated:

|

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
Markdown version of this page

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.

llms.txt

Copy page

Copy page dropdown

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

Questions? Ask Max AI.

It's easier than reading through 807 pages of documentation

Community questions

Was this page useful?

Next article

Getting HogPilled: Winning with PostHog

Most startups fail. The ones that win often do it by accident. We can do better. This guide will help you win on purpose . You'll start by defining success as a number you can measure – your North Star metric. Then you'll describe the user behavior that feeds that number. This will leave you with a collection of events you can track using insights in PostHog. After that, we're going to: Measure if users find the value of your product – measuring activation . Determine if they come back and…

Read next article