TextMate grammars are used to define syntax highlighting in Visual Studio Code and other editors.
This tool is an online tester for TextMate grammars in the JSON format. If you have a PLIST or YAML grammar, convert it to JSON using the PLIST to JSON or YAML to JSON tool. Note that the grammar must have the scopeName
string property.
The preview code is highlighted using the provided grammar. You can edit both the grammar and the preview code.
The example grammar describes the syntax highlighting rules for a made-up language called QuarkScript. This grammar defines four keywords (if
, while
, for
, and return
) and supports double-quoted strings with escape sequences like \n
.
A poster featuring the 2D structure of the cyclooctatetraene molecule.
A collection of important physical quantities that marks their beauty and significance.
A collection of phonetic transcriptions showcasing the beauty of phonetic notation.
Diff two files.
Parse, inspect, and debug emails online.
Generate data URLs in the browser.
Encode into and decode from Base64 online.
Parse, inspect, and debug IETF (BCP 47) language tags online.
All prices listed are in United States Dollars (USD). Visual representations of products are intended for illustrative purposes. Actual products may exhibit variations in color, texture, or other characteristics inherent to the manufacturing process.