💾 Archived View for freeshell.de › tldr › weasyprint.gmi captured on 2024-03-21 at 17:29:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Render HTML to PDF or PNG.
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).