Syntax Highlighting
All about syntax highlighting
This documentation uses Shiki for syntax highlighting at build time.
Basic Usage
Add code blocks using triple backticks with a language identifier:
Renders as:
Supported Languages
All languages supported by Shiki are available. Common ones include:
js/javascriptts/typescriptjsx/tsxbash/shjsonyamlpythongorustcsshtmlmarkdown/mdsqldockerfile
Filenames
You can add a filename to code blocks:
Line Highlighting
Highlight specific lines:
How is this guide?