Refactor paragraphs into a list