mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-27 21:16:14 +02:00
Ensure exported entries end in a newline for Markdown and YAML exporters (#908)
* [Markdown Exporter] [YAML Exporter] Ensure exported entires end in a newline Fixes #768, Fixes #881. If the exported entry does not have a final empty line, this will add one on export. Some Markdown parsers get picky about not having a empty line above a heading.... * fix black formatting issues * explicitly sort filenames to deal with inconsistent default file ordering on different OS's * Update .gitignore * Update test for typo fix Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
parent
62ea1e2b23
commit
68ad5c0c1a
5 changed files with 52 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -42,11 +42,12 @@ obj
|
|||
# virtaulenv
|
||||
env/
|
||||
env*/
|
||||
venv*/
|
||||
|
||||
# PyCharm Project files
|
||||
.idea/
|
||||
|
||||
# export testing director
|
||||
# export testing directories
|
||||
exp/
|
||||
|
||||
_extras/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue