Skip to main content

highlight_code_to_ansi

Function highlight_code_to_ansi 

Source
pub fn highlight_code_to_ansi(
    code: &str,
    language: Option<&str>,
    theme_name: &str,
) -> String
Expand description

Convert code to ANSI escape sequences