klyn.code.highlighters.AnsiSyntax.comment
method
public static comment(text as String) as StyledSpan
Description

Styles a line or block comment.

Parameters
ParameterDescription
textComment slice.
Returns

A StyledSpan with the comment style.

Example
span = AnsiSyntax.comment("# note")