Don't indent the first paragraph after a section break.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9e019c3d8c
commit
7691e7b522
|
@ -93,6 +93,7 @@ def double_space_and_indent(paragraphs, format_all):
|
||||||
this_paragraph_plaintext = not (
|
this_paragraph_plaintext = not (
|
||||||
paragraph.style.name.startswith('Heading')
|
paragraph.style.name.startswith('Heading')
|
||||||
or paragraph.style.name == '0 Block'
|
or paragraph.style.name == '0 Block'
|
||||||
|
or paragraph.text == '#'
|
||||||
or paragraph.style.paragraph_format.left_indent
|
or paragraph.style.paragraph_format.left_indent
|
||||||
or paragraph.style.paragraph_format.right_indent
|
or paragraph.style.paragraph_format.right_indent
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user