I have made my own CSS with which I can create a simple grid within a callout (which you can find on my GitHub: obsidian-snippets/callout-grid.css at main · lajawi/obsidian-snippets · GitHub). I expected the custom styled callouts to export correctly, but all grid styling is lost (aka display: grid; doesn’t seem to work for PDF exports).
Reading view is going to be closest to the PDF. If it’s not matching when exported you’ll likely need a CSS export snippet (@media print, .print).
Last I checked efemkay’s MCL multi column layout carried over to the pdf export. You could have a look at that css to see if they didn’t anything special for export.
What I did notice however, is that they use display: flex; instead of display: grid;, except if you set a specific column count with provided metadata “classes”. If you do that, the exact same behaviour can be observed as in my OP.
I’ll try this, but the lack of inspecting will definitely make it tedious, especially if I don’t even know display: grid; is supported at all by Obsidian for PDF export.
You say it… it is indeed tedious but the only way to make the default print settings more useable.
I didn’t give you more info till now because I’m busy. I’ll check your code but can’t guarantee a quick feedback.
One of these days the devs of Obsidian should care to update/curate existing features instead to add new features in short development cycles. Please.