Function rustdoc::html::markdown::plain_text_summary
source · 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.