Skip to main content

render_markdown_to_lines

Function render_markdown_to_lines 

Source
pub fn render_markdown_to_lines(
    source: &str,
    base_style: Style,
    theme_styles: &ThemeStyles,
    highlight_config: Option<&SyntaxHighlightingConfig>,
) -> Vec<MarkdownLine>
Expand description

Render markdown text to styled lines that can be written to the terminal renderer.