Function mdman::format::text::split_chunks

source ·
fn split_chunks(text: &str) -> Vec<&str>
Expand description

Splits the text on whitespace.

Consecutive whitespace is collapsed to a single ’ ’, and is included as a separate element in the result.