Don't indent the first paragraph after a section break.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Helfman 2024-01-20 14:21:13 -08:00
parent 9e019c3d8c
commit 7691e7b522
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ def double_space_and_indent(paragraphs, format_all):
this_paragraph_plaintext = not (
paragraph.style.name.startswith('Heading')
or paragraph.style.name == '0 Block'
or paragraph.text == '#'
or paragraph.style.paragraph_format.left_indent
or paragraph.style.paragraph_format.right_indent
)