High level utility that tokenizes the code using tokenizeText and then highlights the TokenStream using highlightTokens.
A string with the code to be highlighted.
Either a grammar object or a language name used to index languages. The resolved grammar is then used to highlight the text.
Generated using TypeDoc
High level utility that tokenizes the code using tokenizeText and then highlights the TokenStream using highlightTokens.