API Reference
Class
YamlHighlighter
YAML: comments, document markers, keys, list markers, quoted strings, numbers, booleans/null, anchors and aliases.
Inheritance
- Object
- YamlHighlighter
Constructors
public YamlHighlighter() #Methods
public IReadOnlyList<HighlightToken> Tokenize(String text) #Returns:
IReadOnlyList<HighlightToken>Tokenizes text.
Parameters
- text System.String
- The text (any line endings).
Returns
The tokens, in order and not overlapping.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Name { get; } #The language name, for example "json" (lower case).