Tbh, would probably still recommend rendering it with pandoc because the h1's being split that way does annoy me, but at least it gets the content right.