Function rustdoc::html::highlight::render_source_with_highlighting
source · pub(crate) fn render_source_with_highlighting(
src: &str,
out: &mut Buffer,
line_numbers: Buffer,
href_context: HrefContext<'_, '_, '_>,
decoration_info: DecorationInfo
)
Expand description
Highlights src
as a source code page, returning the HTML output.