💾 Archived View for freeshell.de › tldr › weasyprint.gmi captured on 2023-12-28 at 16:59:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

weasyprint

Render HTML to PDF or PNG.

More information.

weasyprint {path/to/input.html} {path/to/output}.pdf
weasyprint {path/to/input.html} {path/to/output}.png --stylesheet {path/to/stylesheet.css}
weasyprint {path/to/input.html} {path/to/output}.pdf --verbose
weasyprint {path/to/input.html} {path/to/output}.png --resolution {300}
weasyprint {path/to/input.html} {path/to/output}.png --base-url {url_or_filename}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY