Skip to main content

to_plain_text

Function to_plain_text 

Source
pub fn to_plain_text(body: &str) -> String
Expand description

Strip markdown formatting and return a plain-text approximation of the body. Used for the tantivy full-text index.