add a line between the header and the content
This commit is contained in:
parent
5a6d0cefac
commit
ceb449e477
|
@ -5,4 +5,6 @@ def write_to_file(article, header):
|
||||||
markdown = markdownify.markdownify(article.html, heading_style='ATX')
|
markdown = markdownify.markdownify(article.html, heading_style='ATX')
|
||||||
with open(str(article.title) + ".md", 'w') as f:
|
with open(str(article.title) + ".md", 'w') as f:
|
||||||
f.write(header)
|
f.write(header)
|
||||||
|
f.write('------')
|
||||||
|
f.write('\n')
|
||||||
f.write(markdown)
|
f.write(markdown)
|
||||||
|
|
Loading…
Reference in New Issue