bitcrowd / chromic_pdf

Convenient HTML to PDF/A rendering library for Elixir based on Chrome & Ghostscript
Apache License 2.0
409 stars 37 forks source link

Add Template.options/1 #280

Closed maltoe closed 11 months ago

maltoe commented 12 months ago

This patch adds ChromicPDF.Template.options/1 to fetch the options for the print_to_pdf/2 call without passing in the content.

Besides, styles generate by Template.styles/1 are now squished.