This example demonstrates how to highlight HTML markup content using ISyntaxHighlightService.
A similar approach for highlighting C# and VB code snippets was demonstrated in the following example: Syntax highlighting for C# and VB code using DevExpress CodeParser and Syntax Highlight tokens
In this example, the following modifications of the mentioned approach were made:
- the ITokenCategoryHelper instance was created using the ParserLanguageID.Html parameter
- the "TokenCategory.Html....." and "TokenCategory.Css......" categories were analyzed in the HighlightCategorizedToken method.