MDX Components
MDX pages can use registered React components directly in the document body. Components are registered in src/components/markdown/mdx-renderer.tsx.
Admonition
Use callouts for warnings, notes, tips, and important context that should stand apart from the main flow.
<Admonition type="tip" title="Rendered callout">
Use callouts for warnings, notes, tips, and important context.
</Admonition>Supported types:
note, tip, info, warning, danger, successMkDocs admonitions
MkDocs-style admonitions are preprocessed before MDX rendering.
<Admonition type="warning" title="Production secret">
Never ship the seeded admin password to production.
</Admonition>```
The renderer converts that to an `Admonition` component.
Collapsible MkDocs syntax is also supported:
```md
<Collapsible title="Details">
<Admonition type="note">
This content becomes a collapsible block.
</Admonition>
</Collapsible>```
Both `???` and `???+` currently render as collapsible blocks. The open-by-default marker is not preserved by the current preprocessor.
## Collapsible
<Collapsible title="Rendered collapsible">
This content is available after the user opens the section.
</Collapsible>
```mdx
<Collapsible title="Rendered collapsible">
This content is available after the user opens the section.
</Collapsible>Protected
The Protected component gates a subsection inside an otherwise visible page.
Partner Content
This section is available to Partner members and above. Sign in or request access to view.
<Protected tier="partner" label="Partner">
This text is visible only to partner-tier users and above.
</Protected>Use page-level access_tier when the whole page should be gated. Use Protected when only one section needs stronger access.
VideoEmbed
<VideoEmbed
src="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
title="Release walkthrough"
/>The component supports YouTube and Vimeo URLs. You can also set a video value in frontmatter to render the video above the document body.
ExtensionGrid
ExtensionGrid renders direct child docs beneath a path.
<ExtensionGrid path="authoring" columns={2} />It only includes published, visible, direct children. The grid uses title, summary, slug, and nav_order from each child page.
Code blocks and code tabs
Plain fenced code blocks are rendered by the custom code block component and include copy behavior.
```bash
docker compose up -d --build
```CodeTabs can group examples:
<CodeTabs labels={["Docker", "Node"]}>
```bash
docker compose up -d --build
```
```bash
npm run dev
```
</CodeTabs>