render_markdown

Function render_markdown 

Source
pub fn render_markdown(input: &str) -> String
Expand description

Minimal Markdown -> ANSI renderer for help text. Supported:

  • Headings: #, ##, ### (bold)
  • Lists: lines starting with “- “ become bullets
  • Inline: bold, italic, code
  • Paragraphs: preserved