Examples
The repository contains one curated, compact source example for each of the 27
default languages. The same stable inputs drive documentation previews and
parser checks.
Browse the complete source catalog on
GitHub,
or use the individual links in the language reference.
Featured preview matrix
Each image is generated at 800 × 400 pixels from the real public highlighter
API.
PHP
| Alto Dark |
Alto Light |
 |
 |
| GitHub Dark |
GitHub Light |
 |
 |
Twig
| Alto Dark |
Alto Light |
 |
 |
| GitHub Dark |
GitHub Light |
 |
 |
HTML
| Alto Dark |
Alto Light |
 |
 |
| GitHub Dark |
GitHub Light |
 |
 |
JavaScript
| Alto Dark |
Alto Light |
 |
 |
| GitHub Dark |
GitHub Light |
 |
 |
CSS
| Alto Dark |
Alto Light |
 |
 |
| GitHub Dark |
GitHub Light |
 |
 |
The previews use the same source samples as the package tests. See
Creating a theme to use them when reviewing a custom
theme.