pub fn highlight(code: &str, lang: Lang) -> Vec<(Range<usize>, Token)>
Splits code into highlighted ranges covering all of it.
code