ShrinkRay/m2h.py

10 lines
229 B
Python
Raw Normal View History

2024-08-27 23:43:58 +00:00
import markdown
import os
for mdf in os.listdir("docs"):
markdown.markdownFromFile(
input="docs/" + mdf,
output="data/tests/html/{0}.html".format(mdf.split(".")[0]),
extensions=["fenced_code"],
)