Don't indent after a scene break.

master
Dan Helfman 2 months ago
parent bc01805be6
commit f78f1755b9
  1. 4
      format_novel/format_novel.py

@ -79,7 +79,9 @@ def double_space_and_indent(paragraphs):
# To reduce page count, allow splitting paragraphs across pages.
paragraph.paragraph_format.widow_control = False
this_paragraph_plaintext = not paragraph.style.name.startswith('Heading')
this_paragraph_plaintext = (
not paragraph.style.name.startswith('Heading') and paragraph.style.name != '0 Block'
)
# Indent first lines of paragraphs except for styled ones (headings, etc.) and initial
# paragraphs.

Loading…
Cancel
Save