now supports adding blanklines and single-text lines (like section headers)