parse_blocks

Function parse_blocks 

Source
pub fn parse_blocks<IsStartFn, IsEndFn>(
    content: &str,
    is_start: IsStartFn,
    is_end: IsEndFn,
    skip_nested: bool,
) -> Result<Vec<Block<'_>>>
where IsStartFn: Fn(&Event<'_>) -> bool, IsEndFn: Fn(&Event<'_>) -> bool,