geändert: md2html.py

This commit is contained in:
Wolfgang Nowak 2023-10-29 13:37:57 +01:00
parent e0e0c3f00c
commit d146866ae1

View file

@ -23,6 +23,5 @@ with open(mdfile, "r", encoding="utf-8") as datafile:
md = datafile.read() md = datafile.read()
htmlcontent = markdown.markdown(md, extras=markdown.Markdown.extras) htmlcontent = markdown.markdown(md, extras=markdown.Markdown.extras)
with open(htmlfilename, "w", encoding="utf-8") as outfile: with open(htmlfilename, "w", encoding="utf-8") as outfile:
outfile.write(myhead + htmlcontent + myfooter) outfile.write(myhead + htmlcontent + myfooter)