PlainHighlighter
classin packageklyn.code.highlighters
public class PlainHighlighter extends Object implements SyntaxHighlighter
└ PlainHighlighter
All Implemented Interfaces: SyntaxHighlighter

Fallback highlighter for plain text.

Example
import klyn.code.highlighters

spans = PlainHighlighter().highlight("plain text")
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public highlight
highlight(line as String) as List<StyledSpan>
Wraps line in a single unstyled text span.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml