Back to API Reference
Class
ParagraphSpacingModifier
Inherits:BaseModifier
Adds vertical spacing between paragraphs (text separated by line breaks).
Remarks
Parameters (comma-separated): After, Before — both optional. After opens a gap below each covered paragraph, Before above it; where two paragraphs meet the values add up (no CSS-style margin collapsing). Nothing is added at the block edges. Units: 10 (pixels), 50% or 0.5em (× font size). When several ranges cover one paragraph, the largest value per side wins.
