View Markdown
Adding .md or .mdx to the end of a documentation page’s URL shows its source Markdown, excluding frontmatter. This works for both normal and API Reference pages.
Displaying the page’s Markdown helps with troubleshooting layout problems and makes it easier to process page content with external tools or AI agents. A View as Markdown button is enabled by default on every page and can be configured through the page actions configuration.

For example, https://buildwithfern.com/learn/docs/developer-tools/view-markdown.md displays the Markdown source for this page.
Fern also bundles your entire site’s Markdown into llms.txt and llms-full.txt files for AI consumption. These files use the same underlying Markdown you see when viewing a single page and respect the same <llms-only> and <llms-ignore> content controls.