Great exercize, but for most use cases - people will continue reaching for jsPDF.

I think if you have a markdown->PDF function included, where I can send in markdown and get PDF, that would solve quite many needs, and would be useful.

I have added it!

Wow you’re not kidding. That was fast.

https://github.com/Lulzx/tinypdf/commit/961e6b602f19e125f210...

HTML -> PDF was also a use case I've used previously FYI