Is there an open source pure-.NET library that implements this?
I've heard good things about https://github.com/Kozea/WeasyPrint in Python.
I can really recommend weasyprint for (markdown→)html→pdf generation: https://github.com/Kozea/WeasyPrint
Things like columns, footers/headers, hyphenation are all easily done with modern CSS.
I wonder why they didn't pick up Weasy on the PDF build side? That's my go-to if I have access to a Python environment.
Probably too resource hungry, or some flippery making Jupiter work with it. I've seen Jupiter all over the place but haven't played with it.
Yeah, in the Python world there's WeasyPrint for PDF out in the wild as well. It's quite slick, but it's a harder sell because of Python, which corporate types seem to think is bad hacker central.
I find wkhtmltopdf very difficult to work with, for instance the official documentation is just a man [1].
I discovered the project Weasyprint[2] a few months ago. I find it easier to use, and very powerful when using Python. You can define a custom loader to inject images or styles generated on the fly for instance.
There are still some missing features compared to wkhtmltopdf, such as defining a custom footer and header, but it's a very promising project.