README.textile
!https://travis-ci.org/textile/python-textile.svg?branch=develop!:https://travis-ci.org/textile/python-textile h1. python-textile python-textile is a Python port of Textile, Dean Allen's humane web text generator. h2. Installation Install the 'textile' folder on your python path, or @pip install textile@. Optional dependencies include PIL/Pillow (for checking images size) and regex (for faster unicode-aware string matching). h2. Usage

>>> import textile
>>> s = """
... _This_ is a *test.*
...
... * One
... * Two
... * Three
...
... Link to "Slashdot":http://slashdot.org/
... """
>>> html = textile.textile(s)
>>> print html
	

This is a test.

  • One
  • Two
  • Three

Link to Slashdot

>>>
h3. Notes: * Active development supports Python 2.6 or later (including Python 3.2+).