Guides
Writing content
Markdown, MDX and code blocks.
Pages are MDX. Standard Markdown works as expected, and every component is available without an import.
Code blocks
Add a filename in brackets after the language. Highlight lines with a range in braces.
```ts [src/config.ts] {2}
export const site = {
title: 'Mines',
};
```export const site = {
title: 'Mines',
};Shiki notation comments mark diffs and highlights inline.
const theme = 'light';
const theme = 'dark';
applyTheme(theme); Inline elements
Text can use bold, italic, inline code, links and keyboard keys like Shift.
Blockquotes are quiet and italic.
Tables
| Option | Type | Default |
|---|---|---|
subNav |
'none' | 'header' |
'none' |
og |
boolean |
true |