pub fn pretty_print<I: IntoIterator<Item = usize>>(
text: &str,
syntax: ProgrammingLanguage,
highlight: I,
)Expand description
Prints text to stdout using syntax highlighting for the specified syntax.
highlight is an iterator of line numbers to highlight in the output.