Render arbitrary contents to lines.