Hacker News new | ask | show | jobs
by runxel 1900 days ago
Maybe I am missing something very obvious, but how do I get a PDF out of it in an automated way?

That's what I like about pandoc + weasyprint. I just have a plain ol' markdown document and I receive a nice PDF in an instant. Just like that, super easy.

1 comments

you can run the command line version. so in your scenario pandoc-> html, pagedjs cli -> PDF
Ah yes, thanks. I missed that somehow when I took a quick look on paged.js.

Do you have much experience with paged.js? I wonder what the benefits over weasyprint are.

I'm part of the pagedjs team so my outlook is pretty biased :) Perhaps have a look at the docs on the site https://www.pagedjs.org/