pub fn split<S>(input: S) -> Documentwhere S: AsRef<str>,
Create a document by splitting input on line breaks so ensure the invariants of text are upheld.
input