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