Have you tried Quarto? It should tick everything in your box (except MathML, but hey that might work too since Quarto is built on pandoc)
I see it supports Jupyter notebook. Math support in those isn’t too bad at all, so it might just work for many cases.