Fun with "Export to PDF"

I have a query with backticks and then query then on a new line:
line:(SIP)
followed by the backticks that finish the query block.

When rendered that gives a nice set of lines containing “SIP” from various files. The query works! When I use “Export to pdf” I get [some of] those lines on my pdf. That was something I had been struggling to get - a successful export of query results.

But, alas, I get only one page of results. In Obsidian itself there are several pages of results.

And as a bonus, Obsidian jumped to another theme, a dark theme which I did not want, when it made the pdf. Very odd!

Duplicate of this thread. Export to PDF all subject in ```query