Function split

Source
pub fn split<S>(input: S) -> Document
where S: AsRef<str>,
Expand description

Create a document by splitting input on line breaks so ensure the invariants of text are upheld.