pub fn split_markdown( text: &str, size: usize, overlap: usize, trim: bool, ) -> Result<Vec<String>, SplitError>
Generate a list of chunks from a given markdown text.