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,
extra: Option<&str>
)
Expand description
Highlights src
as a source code page, returning the HTML output.