tinymist_analysis::upstream

Function plain_docs_sentence

Source
pub fn plain_docs_sentence(docs: &str) -> EcoString
Expand description

Extract the first sentence of plain text of a piece of documentation.

Removes Markdown formatting.