Getting Started
Welcome to the Docs
Section titled “Welcome to the Docs”This is your first MDX document in Starlight.
What you’ll need
Section titled “What you’ll need”- Node.js version 16.14 or above
Using React components in MDX
Section titled “Using React components in MDX”Starlight supports using React components within your MDX files:
import { Button } from "@/components/ui/button";
<Button>Click me!</Button>;Code Syntax Highlighting
Section titled “Code Syntax Highlighting”import React from "react";
function MyComponent() { return <div>Hello world!</div>;}
export default MyComponent;Interactive Example
Section titled “Interactive Example”Below is an interactive example (you’ll need to implement the actual component):
1function greeting(name: string): string {2return `Hello, ${name}!`;3}45console.log(greeting('Developer'));
Next Steps
Section titled “Next Steps”Continue exploring our documentation to learn more about the features and capabilities of our platform.