Typst( https://typst.app/)
Is good Latex alternative which should be mentioned here. Their roadmap also features html as a target.
replies(5):
Looks like you can already play with it (though it's still "very incomplete") https://typst.app/docs/reference/html/
[0]: https://github.com/wcshds/typst-math-to-mathml-converter