Code Blocks
The theme replaces Starlight’s built-in Expressive Code with a custom Shiki pipeline for syntax highlighting.
Basic Usage
Use fenced code blocks with a language identifier:
Line Highlighting
Highlight specific lines using the {lines} syntax in the code fence meta:
Diff Notation
Use // [!code ++] and // [!code --] for diff annotations:
Themes
Light Theme
Code blocks use one-light in light mode.
Dark Theme
Code blocks use github-dark-dimmed in dark mode.
Both themes are loaded simultaneously and toggled via CSS based on the active theme.