I've used typst for generating PDFs before, how good is its HTML output?
it looks like typst's html output is under construction [1].
1: https://typst.app/docs/reference/html/