1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00

Update docs/tutorial.rst

Typo fixes in docs/tutorial.
This commit is contained in:
kaikuehne 2012-11-07 14:57:16 +01:00
parent 6f56613441
commit a36da2bcae

View File

@ -39,14 +39,14 @@ The Python version of the above example goes like this:
.. code-block:: python
from weasyprint import import HTML
from weasyprint import HTML
HTML('http://weasyprint.org/').write_pdf('/tmp/weasyprint-website.pdf')
… or with the inline stylesheet:
.. code-block:: python
from weasyprint import import HTML, CSS
from weasyprint import HTML, CSS
HTML('http://weasyprint.org/').write_pdf('/tmp/weasyprint-website.pdf',
stylesheets=[CSS(string='body { font-family: serif !important }')])