1
0
mirror of https://gitlab.com/redline-racing-division/car-show.git synced 2025-06-15 22:56:51 +00:00
Car-Show/concat.py
2019-11-14 21:01:55 -07:00

12 lines
328 B
Python

import pypandoc
middle = pypandoc.convert_file("body.md", "html")
with open("top.html", "r") as top:
with open("bottom.html", "r") as bottom:
with open("index.html", "w") as index:
index.write(top.read())
index.write(middle)
index.write(bottom.read())
index.close()