TextHighlighter.ToHTML (gb.eval.highlight)

Function ToHTML ( Text As String [ , Theme As Variant ] ) As String

Highlight a text and return the result as colored HTML.

  • Text : The text to highlight.

  • Styles : An optional highlighting style as an array of TextHighlighterStyle. If not specified, the default style is used.