Skip to main content

extract

Function extract 

Source
pub fn extract(content: &str) -> (String, Vec<TextSpan>)
Expand description

Take the markup out of content: colour tags, then <t:…> times. Returns the plain text and its spans, offsets in chars of that text.