Skip to main content

split_markdown

Function split_markdown 

Source
pub fn split_markdown(
    text: &str,
    size: usize,
    overlap: usize,
    trim: bool,
) -> Result<Vec<String>, SplitError>
Expand description

Generate a list of chunks from a given markdown text.