pub fn parse<S: Into<String>>(
    input: S,
    highlighter: &mut HighlightLines<'_>,
    syntax_set: &SyntaxSet
) -> Result<StyledString, Error>
Expand description

Parse text using a syntect highlighter.