[−][src]Function rustdoc::html::markdown::plain_text_summary
pub(crate) fn plain_text_summary(md: &str) -> String
Renders the first paragraph of the provided markdown as plain text.
- Headings, links, and formatting are stripped.
- Inline code is rendered as-is, surrounded by backticks.
- HTML and code blocks are ignored.