grafika-projekt/cw 9/render.py
Kacper Pękalski bfe15f960b project
2023-02-13 14:02:30 +01:00

7 lines
214 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')