GRK_Room/cw 9/render.py
Angelika Iskra a50c6b8a92 init
2023-01-14 12:00:59 +01:00

7 lines
220 B
Python

import os
rootdir = './'
for filename in os.listdir(rootdir):
if filename.endswith(".md"):
name = filename[:-3]
os.system(f'pandoc -s -o "{name}.html" "{name}.md" --mathjax --css style.css')