Skip to main content

Module markdown

Module markdown 

Source
Expand description

Simple markdown renderer for ratatui

Converts markdown text to ratatui Line<'static> values. Supports: # headers, bold, italic, code, - bullets, > quotes, ``` code blocks.

Functionsยง

parse_inline
Parse inline markdown markers (bold, italic, code) from a string. Returns Span<'static> values using owned strings.
parse_markdown
Parse a markdown string into ratatui Line values ready for rendering.