DocuNextDocuNext

Examples

Quick Examples

This page demonstrates headings, links, code blocks, and an interactive Sandpack.

Markdown features

  • Automatic headings anchors
  • GitHub-flavored Markdown tables
FeatureStatus
MDX
Search

Code block

export function hello(name: string) {
  return `Hello, ${name}!`;
}

Sandpack preview

export default function App() {
  return <h1>Hello world</h1>
}

  • 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)