How do I do something like options kwarg JazzCore/python-pdfkit#222
options = {
"enable-local-file-access": True,
...
}
pdfkit.from_string(html_file, pdf_file, options=options, ...)
if I have
params = dict()
if self.stylesheet is not None:
params.update(dict(css=[self._get_stylesheet(self.stylesheet), ]))
return pdfkit.from_string(rendered_html, **params)