#!/usr/bin/env python3 import markdown2 extras = ["header-ids"] with open("dist/README.md", "r") as fdesc: body = markdown2.markdown(fdesc.read(), extras=extras) output = f""" Geoffrey Frogeye's block list of first-party trackers {body} """ with open("dist/index.html", "w") as fdesc: fdesc.write(output)