render_example_with_highlighting

Function render_example_with_highlighting 

Source
pub(crate) fn render_example_with_highlighting(
    src: &str,
    tooltip: Option<&Tooltip>,
    playground_button: Option<&str>,
    extra_classes: &[String],
) -> impl Display
Expand description

Highlights src as an inline example, returning the HTML output.