pub(crate) fn plain_text_summary(md: &str) -> String
Expand description

Renders the first paragraph of the provided markdown as plain text. Useful for alt-text.

  • Headings, links, and formatting are stripped.
  • Inline code is rendered as-is, surrounded by backticks.
  • HTML and code blocks are ignored.