public override highlight(line as String) as List<StyledSpan>
Highlights one HTML source line.
| Parameter | Description |
|---|---|
line | Source line text. |
Ordered list of StyledSpan segments whose concatenation equals line.
import klyn.code.markup
spans = HtmlHighlighter().highlight("<a href=\"/home\"> </a>")