You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# html_to_pdf
|
|
|
|
|
|
|
|
### API
|
|
|
|
|
|
|
|
```python
|
|
|
|
import html_to_pdf as h2p
|
|
|
|
|
|
|
|
h2p.render_from_url("http://example.com", "out.pdf")
|
|
|
|
h2p.render_from_file("local_file.html", "out2.pdf")
|
|
|
|
h2p.render_from_string("<h1>Works</h1>", "out3.pdf")
|
|
|
|
```
|