HTML + Jinja2 + Paper.css = Printable A4 Documents
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