[−][src]Function rustdoc::html::render::plain_text_summary
pub(crate) fn plain_text_summary(s: Option<&str>) -> String
Renders the first paragraph of the given markdown as plain text, making it suitable for contexts like alt-text or the search index.
If no markdown is supplied, the empty string is returned.
See markdown::plain_text_summary for further details.