Renders this document as a string and writes it to output. Each line of the output will be under lineWidth characters if possible. If ansi is true
, ANSI escape codes are output to style the document according to the Style annotations in the document.
Renders the document as a String.
See also