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

pub fn render_inner_with_highlighting(src: &str) -> Result<String>
Unstable (rustdoc)

Highlights src, returning the HTML output. Returns only the inner html to be inserted into an element. C.f., render_with_highlighting which includes an enclosing <pre> block.