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 phonetic transcription of "матрёшка" in the International Phonetic Alphabet (IPA).
A poster featuring the 2D structure of the ethylene molecule.
Create QR code images from text, URLs, or other simple data online.
Parse, inspect, and debug emails online.
Calculate the MD5 hash for text data online.
Diff two files.
Generate data URLs in the browser.
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. The products' design and underlying technology are protected by applicable intellectual property laws. Unauthorized reproduction or distribution is prohibited.