RazorHighlighter
classin packageklyn.code.markup
public class RazorHighlighter extends Object implements SyntaxHighlighter
└ RazorHighlighter
All Implemented Interfaces: SyntaxHighlighter

Syntax highlighter for Razor files (HTML + C# fragments).

Example
import klyn.code.markup

spans = RazorHighlighter().highlight("<h1>@Model.Title</h1>")
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public highlight
highlight(line as String) as List<StyledSpan>
Highlights one Razor line combining HTML markup and @ C# expressions.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml