klyn.code.markup.HtmlHighlighter.highlight
method
public override highlight(line as String) as List<StyledSpan>
Description

Highlights one HTML source line.

Parameters
ParameterDescription
lineSource line text.
Returns

Ordered list of StyledSpan segments whose concatenation equals line.

Example
import klyn.code.markup

spans = HtmlHighlighter().highlight("<a href=\"/home\">&nbsp;</a>")