-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

weasyprint


> Render HTML to PDF or PNG.

More information.


Render an HTML file to PDF:

weasyprint {path/to/input.html} {path/to/output}.pdf

Render an HTML file to PNG, including an additional user stylesheet:

weasyprint {path/to/input.html} {path/to/output}.png --stylesheet {path/to/stylesheet.css}

Output additional debugging information when rendering:

weasyprint {path/to/input.html} {path/to/output}.pdf --verbose

Specify a custom resolution when outputting to PNG:

weasyprint {path/to/input.html} {path/to/output}.png --resolution {300}

Specify a base URL for relative URLs in the input HTML file:

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



-- Response ended

-- Page fetched on Fri May 17 17:18:42 2024