public static decorator(text as String) as StyledSpan
Styles an annotation, decorator, or preprocessor directive.
text
A StyledSpan with the decorator style.
StyledSpan
span = AnsiSyntax.decorator("@Test")