This website requires JavaScript.
Explore
Help
Sign In
Kozea
/
WeasyPrint
Watch
1
Star
1
Fork
0
You've already forked WeasyPrint
mirror of
https://github.com/Kozea/WeasyPrint.git
synced
2024-10-05 00:21:15 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
a0bb1f2752
WeasyPrint
/
weasyprint.py
6 lines
98 B
Python
Raw
Normal View
History
Unescape
Escape
Add a weasyprint.py script.
2011-08-09 14:45:51 +04:00
#!/usr/bin/env python
Move the whole 'weasy' package to 'weasyprint'
2012-02-14 15:49:33 +04:00
from
weasyprint
.
__main__
import
main
First stab at FireWeasy. The idea is to render the box tree in a browser instead of cairo, so that tools like FireBug can be used to see the actual dimensions of various boxes to help debug documents.
2012-01-25 22:06:33 +04:00
if
__name__
==
'
__main__
'
:
Make 'python -m weasy' work from the command-line.
2012-02-14 15:33:17 +04:00
main
(
)
Reference in New Issue
Copy Permalink