pub fn highlight(
source: &str,
language: &str,
) -> Option<Vec<(Range<usize>, HighlightKind)>>Expand description
Highlight source as language (a fence tag — rs, py, tsx, …).
None when the tag names no language with a grammar in registry, which
holds none until grammars::install or registry::register adds one.