2023-05-05 12:55:05 +02:00
|
|
|
# just testing markdown library for now
|
|
|
|
|
|
|
|
|
|
from markdown import markdown as to_markdown
|
|
|
|
|
|
|
|
|
|
blog = ""
|
|
|
|
|
|
|
|
|
|
with open('blogs/Lorem Ipsum.md','rt') as file:
|
|
|
|
|
blog = file.read()
|
|
|
|
|
|
|
|
|
|
with open('blogs/Lorem Ipsum.html', 'wt') as file:
|
|
|
|
|
file.write(to_markdown(blog))
|