Skip to content
A Python port of Textile, A humane web text generator
Find file
New pull request
Latest commit 00e2235 Sebastian Merge pull request #10 from thmo/master
Support Pillow by using PIL in import statement



python-textile is a Python port of Textile, Dean Allen’s humane web text generator.


Install the ‘textile’ folder on your python path, or easy_install

>>> import textile
>>> s = """
... _This_ is a *test.*
... * One
... * Two
... * Three
... Link to "Slashdot":
... """
>>> html = textile.textile(s)
>>> print html
<em>This</em> is a <strong>test.</strong>
	<p>Link to <a href="">Slashdot</a>

Something went wrong with that request. Please try again.