Skip to main content

Module markdown

Module markdown 

Source
Expand description

Markdown-to-ANSI rendering for chat output.

Structs§

HighlightedSegment
MarkdownLine
A rendered line composed of styled segments.
MarkdownSegment
A styled text segment.
RenderMarkdownOptions

Functions§

highlight_code_to_ansi
highlight_code_to_segments
highlight_line_for_diff
render_markdown
Render markdown source using the currently active theme styles.
render_markdown_to_lines
Render markdown source into styled lines using default rendering options.
render_markdown_to_lines_with_options
Render markdown source into styled lines with custom rendering options (TUI build).