Skip to main content

render_line

Function render_line 

Source
pub fn render_line(
    line: &str,
    state: &mut MdState,
    caps: TerminalCaps,
) -> Option<String>
Expand description

Render one complete line with block- and inline-level markdown applied. Returns None if the line should be omitted from output (e.g., a fence marker ``` that toggles code-block state but isn’t itself visible text).