toner-wkhtmltopdf
Toner recipe for printing html into pdf using wkhtmltopdf
npm install toner-wkhtmltopdf
toner
Options
Options passed to template.wkhtmltopdf
are passed to the wkhtmltopdf binary. See its docs for details. Currently supported options are:
- orientation
- header
- footer
- headerHeight
- footerHeight
- marginBottom
- marginLeft
- marginRight
- marginTop
- pageSize
- pageHeight
- pageWidth
- toc
- tocHeaderText
- tocLevelIndentation
- tocTextSizeShrink
- title