pybloqs.htmlconv package

Module contents

pybloqs.htmlconv.htmlconv(html_string=None, fmt='pdf', toc=True, tool_args=(), input_file=None, output_file=None)[source]

Use the wkhtmlto* tool to convert the supplied html content to a PDF or image file.

Parameters:
  • html_string – Html string.
  • fmt – Format to use. Can be one of “pdf”, “jpg”, “png”.
  • tool_args – Optional. Extra command line args to pass to the converter tool.
Returns:

Res