Skip to main content

highlight

Function highlight 

Source
pub fn highlight(lang: &str, code: &str) -> String
Expand description

code highlighted as lang, as the HTML that goes inside a <code>.