Remove vertical spacing between paragraphs.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Helfman 2022-01-09 22:32:48 -08:00
parent b1f1d67653
commit 792a4481b3
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ def double_space_and_indent(paragraphs):
for paragraph in paragraphs:
paragraph.paragraph_format.line_spacing = 2
paragraph.paragraph_format.space_before = docx.shared.Inches(0)
paragraph.paragraph_format.space_after = docx.shared.Inches(0)
this_paragraph_plaintext = bool(paragraph.style.name == 'Normal')
# Indent first lines of paragraphs except for styled ones (headings, etc.) and initial