Function rustdoc::html::highlight::render_example_with_highlighting
source ยท pub(crate) fn render_example_with_highlighting(
src: &str,
out: &mut Buffer,
tooltip: Tooltip,
playground_button: Option<&str>,
extra_classes: &[String],
)
Expand description
Highlights src
as an inline example, returning the HTML output.