Skip to main content

render_element

Function render_element 

Source
pub fn render_element(
    element: &MarkdownElement,
    width: usize,
) -> Vec<Line<'static>>
Available on crate feature markdown-preview only.
Expand description

Render a markdown element to ratatui Line with given width.