What code is rendered during Export to PDF

I know that people much smarter than I am are working to fix the bugs with export to PDF, particularly the issues with embedded transclusions. The type of note taking I’m doing lends itself to transclusions which locks me into Obsidian’s proprietary export to PDF function. Right now, when I go to export, the formatting I see in the preview pane is ideal (I have churched up some CSS to get it the way I like it), but when I export, the transclusions are distorted.

Until the developers fix this, would anyone be able to explain how I can see what code is being rendered to create the PDF? It seems that only some of the CSS classes are being read and then the app.css file will overwrite the rest leading to issues. Any help is appreciated.