break lines when too long.
accumulate lines in paragraphs.
flush paragraphs at paragraph breaks.