I’m using a plugin named “Obsidian Typst” that uses asynchronous HTMLElement.
But, when exporting to pdf, only the one that managed to get drawn are exported.
You can reproduce the test by developping a plugin that has async “HTMLElement” or by using obsidian-typst with a file that has a lot of math equation.
It’s hard to tell if it is a bug, or not (sorry if my new topic isn’t a bug). But it would be nice to have a little API for PDF exporting, because for now I don’t know if there is a way to fix this problem.