Skip to main content

highlight_code

Function highlight_code 

Source
pub fn highlight_code(
    code: &str,
    language: &str,
) -> Vec<Vec<HighlightedSegment>>
Expand description

Highlight code with syntax coloring