Hello,
I'm generating PDF using wkhtmltopdf, so "to" is "html" and I don't see the PDF engine in any of the globals. Should I just look at the output file name?
Thanks,
William
PS, My filter adds some JavaScript to header-includes. I'm doing this as a RawBlock(html) but I think I need to omit it when the HTML will be converted to PDF (wkhtmltopdf complains).