AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Code blocks
Use fenced code blocks with Shiki syntax highlighting, optional titles for filenames, and CodeGroup tabs for multi-file or multi-language examples.
Fenced code blocks are automatically syntax-highlighted using Shiki with dual themes (light and dark).
Basic usage
Use triple backticks with a language identifier:
```javascript
const greeting = "Hello, world!";
console.log(greeting);
```Titles
Add a filename or label with the title attribute:
```typescript title="src/config.ts"
export const config = {
name: "my-project",
version: "1.0.0",
};
```Supported languages
Shiki supports over 300 languages, including: javascript, typescript, python, go, , , , , , , , , and many more.