Skip to main content

parse

Function parse 

Source
pub fn parse(content: &str, max_chars: usize) -> Content
Expand description

Parse a note’s content, cutting its text at max_chars characters of what it shows. Of a note that is cut, all of the text is kept as well.