A document in the ROFF format.
ROFF is a family of Unix text-formatting languages, implemented
groff programs, among others. See
groff(7) for a description of the language. This structure is an
abstract representation of a document in ROFF format. It is meant
for writing code to generate ROFF documents, such as manual pages.
let doc = Roff::new().text(vec![roman("hello, world")]).render(); assert!(doc.ends_with("hello, world\n"));
A ROFF document, consisting of lines.
A part of a text line.