Skip to content
Testaroo

Source code for syntax highlighters

Idiomatic hello-world programs and realistic snippets across sixteen languages, exercising comments, string escapes, interpolation, numeric literals, and language keywords, for testing syntax highlighters, editor themes, and tree-sitter grammars.

Each card starts with one representative test file. Choose a use case, search, or filter to find a specific profile; a card’s variant menu contains its related samples.

Filter these files
More filters and sorting
More file filters

Results

117 test families · 121 available files · Page 1 of 7