Skip to main content

highlight_with_templates

Function highlight_with_templates 

Source
pub fn highlight_with_templates(
    language: Language,
    text: &str,
    palette: &Palette,
) -> Vec<TextRun>
Expand description

highlight, then every ${[ … ]} template tag painted over whatever token it sits in.