Pages are .mdx: standard Markdown plus React components when you want them.
This page is both the reference and a live demo of everything available.
Optional YAML at the top of a file controls metadata:
Write :::note, :::tip, :::warning, or :::danger. An optional [Title]
overrides the label.
Note
Callouts use the theme's semantic tokens, so they re-color per theme and in light/dark automatically.
Heads up
Wrap a label in brackets to set a custom title.
Fenced code gets a language label, a copy button, and an optional filename via
the title= meta:
Wrap multiple fenced blocks in <CodeTabs>; the chosen language persists across
every code-tab group on the site:
Use <ApiMethod> inline to link prose to the API reference:
POST
/v1/widgets
Create a widget
GET
/v1/widgets/{id}
Fetch a widget
<SeeAlso> wraps a Markdown link list in a discovery card:
Standard Markdown tables scroll horizontally on small screens:
| Component | Use it for |
|---|---|
CodeTabs | Multi-language code samples |
Callout | Notes, tips, warnings, dangers |
ApiMethod | Inline endpoint references |
SeeAlso | Related-page discovery cards |