Skip to main content

code_rows

Function code_rows 

Source
pub fn code_rows(code: &str, language: Language<'_>) -> Vec<Line<'static>>
Expand description

code’s rows as a tool’s result draws them, indented by OUTPUT_INDENT, in language’s colors, or dimmed for a language with no grammar.