Lift trailing code/macros in paragraphs to blocks