Skip to main content

first_paragraph

Function first_paragraph 

Source
pub fn first_paragraph(body: &str) -> Option<String>
Expand description

Derive a description from the rendered body: the first paragraph’s text, tags stripped, truncated at a word boundary to 155 chars.