Examples
Quick Examples
This page demonstrates headings, links, code blocks, and an interactive Sandpack.
Markdown features
- Automatic headings anchors
- GitHub-flavored Markdown tables
| Feature | Status |
|---|---|
| MDX | ✅ |
| Search | ✅ |
Code block
export function hello(name: string) {
return `Hello, ${name}!`;
}
Sandpack preview
Navigation and TOC
- Use
##and###headings to populate the summary (right side). - Previous/Next links appear at the bottom based on the sidebar order.
Linking
- Link to anchors:
[Jump to code](#code-block) - Link between docs:
[Installation](/docs/installation)