TextHighlighter.ToHTML (gb.highlight)

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

Return the result of text highlighting as HTML.

  • Text: The text to highlight.

  • Theme: The theme to use. If not specified, a default theme is used.