Skip to main content

highlighting_html_renderer_extension

Function highlighting_html_renderer_extension 

Source
pub fn highlighting_html_renderer_extension<'cb, W>(
    options: impl Into<HighlightingHtmlRendererOptions>,
) -> impl RendererExtension<'cb, W>
where W: TextWrite + 'cb,
Expand description

Returns a renderer extension that adds support for rendering code blocks with syntax highlighting.