HTML + Jinja2 + Paper.css = Printable A4 Documents
This repository has been archived on 2026-01-05. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2025-04-06 10:49:55 +02:00
generate.py Add support for other paper sizes than A4 (--size and --orientation), make custom css file optional, update README 2025-04-06 10:49:55 +02:00
README.md Add support for other paper sizes than A4 (--size and --orientation), make custom css file optional, update README 2025-04-06 10:49:55 +02:00

HTML Template Example

<div class="sheet">
    <h1>Hello</h1>
    <p>{{ name }}</p>
</div>
<div class="sheet">
    <h1>Second Page</h1>
</div>

Data Example

title: Example Document
lang: en
name: World