mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[YAML export] only increase headings by one level
This commit is contained in:
parent
3408440705
commit
327fde5c0f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class MarkdownExporter(TextExporter):
|
||||||
|
|
||||||
'''Increase heading levels in body text'''
|
'''Increase heading levels in body text'''
|
||||||
newbody = ''
|
newbody = ''
|
||||||
heading = '###'
|
heading = '#'
|
||||||
previous_line = ''
|
previous_line = ''
|
||||||
warn_on_heading_level = False
|
warn_on_heading_level = False
|
||||||
for line in entry.body.splitlines(True):
|
for line in entry.body.splitlines(True):
|
||||||
|
|
Loading…
Add table
Reference in a new issue