Is it possible to blanket export all posts that have a specific tag as pdf documents?

There seems to be some terminology confusion here – maybe you mean “topic” where you wrote “post”, @nadia and @owen?

If you indeed mean “post”, there is a hidden feature in Discourse that will make this fast, much faster than sending 100 calls to Discourse to get 100 posts of a single topic and then converting them from Markdown to HTML in JavaScript, and from there to pdfmake format, and from there to PDF.

Namely, when you append ?_escaped_fragment_ to the normal URL of a Discourse topic, you get the whole topic as one single HTML document, bypassing the normal API (example). This can be used to manually convert topics to PDF (details in our manual). But it also provides a fast way to get HTML for a topic, to then convert to PDF the way Owen is doing it now.

Since this is fast, creating a single PDF document from up to approx. 10 Discourse topics would also be reasonably fast, but beyond that we’d need a more robust implementation, and time to plan and do that as @hugi says.