Function rustdoc::html::highlight::render_with_highlighting [] [src]

pub fn render_with_highlighting(src: &str, class: Option<&str>, id: Option<&str>) -> String
Unstable (rustdoc)

Highlights src, returning the HTML output.