GRK/cw 2/render.py
secret_dude a7bd7ecb75 master
2022-01-12 16:07:16 +01:00

7 lines
200 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 --css style.css')