Matrix logo

Pages

How MDX files become pages, how frontmatter sets titles and descriptions, and how file paths map to URLs in your documentation site.

Every .mdx file in your project becomes a page. The file path determines the URL.

Frontmatter

Each page starts with frontmatter — metadata between --- fences:

---
title: My Page Title
description: A short description for search engines
---

Your content starts here.
FieldRequiredDescription
titleYesPage title shown in the browser tab and sidebar
descriptionNoMeta description for SEO

File organization

Your file structure maps directly to URLs:

introduction.mdx        → /introduction
quickstart.mdx          → /quickstart
guides/deployment.mdx   → /guides/deployment
api/users/list.mdx      → /api/users/list

Markdown features

MDX supports all standard Markdown:

  • Bold, italic, inline code, and links.
  • Ordered and unordered lists (you're reading one).
  • Fenced code blocks with syntax highlighting.
  • Tables, blockquotes, and headings (##, ###, ####).

Lists, tables, and blockquotes render natively:

FormatMarkdownRenders as
Bold**bold**bold
Italic*italic*italic
Code`code`code
Link[text](url)text

Blockquotes pull a passage out of the flow. Use them sparingly.

Headings on the page automatically appear in the right sidebar as a table of contents.