Skip to main content

render_markdown

Function render_markdown 

Source
pub fn render_markdown<'a>(
    text: &str,
    theme: &Theme,
    highlighter: &Highlighter,
) -> Vec<Line<'a>>
Expand description

Render markdown text to styled ratatui Lines.

Handles: headers, pipe tables, bold, italic, inline code, code blocks (with syntax highlighting), lists, and links.