add a line between the header and the content

This commit is contained in:
Andreas Zweili 2020-10-13 21:18:04 +02:00
parent 5a6d0cefac
commit ceb449e477
1 changed files with 2 additions and 0 deletions

View File

@ -5,4 +5,6 @@ def write_to_file(article, header):
markdown = markdownify.markdownify(article.html, heading_style='ATX')
with open(str(article.title) + ".md", 'w') as f:
f.write(header)
f.write('------')
f.write('\n')
f.write(markdown)