Nextra renders everyDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/shuding/nextra/llms.txt
Use this file to discover all available pages before exploring further.
.mdx file in your content directory using MDX — an advanced Markdown format that lets you embed React components directly inside your prose. On top of standard MDX, Nextra ships with GitHub Flavored Markdown (GFM), alert syntax, frontmatter parsing, and custom heading IDs out of the box.
MDX
MDX gives you the full power of React inside Markdown. You can import components at the top of any.mdx file and use them inline, just like JSX:
GitHub Flavored Markdown
GFM is a Markdown extension created by GitHub that adds strikethrough, task lists, tables, autolinks, and more. Nextra enables GFM by default — no extra configuration required.Strikethrough
Use double tildes to strike through text:Task Lists
Create interactive-looking checklists with- [x] (checked) and - [ ] (unchecked):
Tables
Use pipe characters to define columns, and colons in the separator row to control alignment::---), center-aligned (:---:), and right-aligned (---:) columns are all supported.
Autolinks
Bare URLs are automatically converted into clickable links:GitHub Alert Syntax
Nextra supports GitHub’s blockquote-based alert syntax for callout blocks. Use> [!TYPE] followed by your content:
Frontmatter
Every.mdx file can include a YAML frontmatter block between --- delimiters at the very top. Nextra reads this block and exposes it to your theme:
The
title and description frontmatter keys are used by
nextra-theme-docs to set the page’s <title> tag and Open Graph metadata
automatically.Custom Heading IDs
By default, Nextra generates anchor IDs from heading text (e.g.,## Long Heading becomes #long-heading). You can override this with a custom ID by appending [#your-id] after the heading text:
#about-nextra instead of the default #long-heading-about-nextra. This is useful when you want stable, short URLs even if the heading text changes over time.