The humane web text generator from within Flask
Project description
The Python port of Dean Allen's humane web text generator packaged for use with Flask.
pip install flask-textile
Import into your project:
from flask_textile import Textile
And then...
app = Flask(__name__)
textile = Textile(app)
Or, if one prefers, with a factory:
textile = Textile()
...
textile.init_app(app)
Simple usage within a Jinja2 template:
{{ text|textile }}
Or use as a filter:
{% filter textile %}
h2. Textile
* is a _shorthand syntax_ used to generate valid HTML
* is *easy* to read and *easy* to write
* can generate complex pages, including: headings, quotes, lists, tables and figures
Textile integrations are available for "a wide range platforms":/article/.
{% endfilter %}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for Flask_Textile-0.1.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672b79854599a2a22342330e6037a1042a991d6576a481811454bbd1b7e574cd |
|
MD5 | 4b8b15495fa20f70526d2e3c765a9e62 |
|
BLAKE2b-256 | e9cce2df91f1bd56285715b27af5045c78d624c84aac5a073edec0c3436573e5 |