refactor markup.paragraphs. breaks all test because test files do not contain paragraphs