This repository has been archived on 2021-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
MWS_2021/cw1 p2/render.py

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