From 143a42446f8e1cec69dc6ea3ea2e1af8afbb4b9c Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 3 Feb 2023 11:08:21 -0800 Subject: [PATCH] Don't indent
s in markdown. --- format_novel/format_novel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format_novel/format_novel.py b/format_novel/format_novel.py index ea71950..acf2cb9 100755 --- a/format_novel/format_novel.py +++ b/format_novel/format_novel.py @@ -80,7 +80,7 @@ def double_space_and_indent(paragraphs): paragraph.paragraph_format.widow_control = False this_paragraph_plaintext = ( - not paragraph.style.name.startswith('Heading') and paragraph.style.name != '0 Block' + not paragraph.style.name.startswith('Heading') and paragraph.style.name != '0 Block' and not paragraph.style.name.startswith('Para ') ) # Indent first lines of paragraphs except for styled ones (headings, etc.) and initial