Skip to main content

render_code_block

Function render_code_block 

Source
pub fn render_code_block(
    code: &str,
    lang: Option<&str>,
    ss: &SyntaxSet,
) -> Vec<Vec<InlineSegment>>
Expand description

Render a code block with syntect syntax highlighting.