Does wkHTMLtoPDF support @page rules?

I am trying to use this simple command to learn wkHTML2PDF abilities:

wkhtml2pdf test.htm test.pdf 

It doesn't seem to support @page rules that can be included in an attached CSS file, or am I missing something? some parameters for examples?

+2
source share
1 answer

Short answer no. As @skobajic mentioned, there are command line options to get the same functionality. I don’t think it will come soon because webkit does not support it.

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2200

https://bugs.webkit.org/show_bug.cgi?id=15548

+3
source

All Articles