diff --git a/ai/markdown-export.mdx b/ai/markdown-export.mdx index 3f463e5ab..1b11a4fe8 100644 --- a/ai/markdown-export.mdx +++ b/ai/markdown-export.mdx @@ -18,6 +18,8 @@ Add `.md` to any page's URL to view a Markdown version. Open this page as Markdown +Links to other pages in your navigation point to their Markdown versions, so agents that follow a link keep reading Markdown. For example, `[Quickstart](/quickstart#install)` becomes `[Quickstart](/quickstart.md#install)` in the Markdown output. Links to pages that are not in your navigation, images, external URLs, and links inside code blocks stay as written. + ## Accept header Send a request with `Accept: text/markdown` or `Accept: text/plain` to any page URL to receive the Markdown version instead of HTML. This is useful for AI tools and integrations that programmatically fetch documentation content.