Files
Cagire/crates/markdown

cagire-markdown

Markdown parser and renderer that produces ratatui-styled lines. Used for the built-in help/documentation views.

Modules

Module Description
parser Markdown-to-styled-lines conversion
highlighter CodeHighlighter trait for syntax highlighting in fenced code blocks
theme Color mappings for markdown elements

Key Trait

  • CodeHighlighter — Implement to provide language-specific syntax highlighting. Returns Vec<(Style, String)> per line.