Skip to main content

split_blocks

Function split_blocks 

Source
pub fn split_blocks(text: &str) -> Vec<Vec<String>>
Expand description

按空行分组;组内保留原始行(行尾空白去掉,组尾空行丢弃)。