Asday / weasyprint-pagination

Created as an answer to https://stackoverflow.com/questions/48581654/writing-multiple-page-pdf-from-html-template-using-weasy-print-and-django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Render HTML to PDF with page breaks

This repo was produced as an answer to this question on stack overflow.

Installation

git clone git@github.com:Asday/weasyprint-pagination.git
cd weasyprint-pagination
mkvirtualenv --python=$(which python3.6) weasyprint-pagination
pip install -r requirements.txt
python manage.py runserver 0.0.0.0:8000

Then visit /.

For an HTML preview, check out /?html.

About

Created as an answer to https://stackoverflow.com/questions/48581654/writing-multiple-page-pdf-from-html-template-using-weasy-print-and-django


Languages

Language:HTML 59.9%Language:Python 40.1%