Format lines of text.