WeasyPrint is a tool for generating PDF documents from HTMLÂ pages.
I use it in e.g. my manuscript compiler.