Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Small extension to make using rst easy

Project description

Easy integration of reStructuredText.

The :class:`ReStructuredText`class is used to control the
ReStructuredText integration to one or more Flask applications.
Depending on how you initialize the object it is usable right
away or will attach as needed to a Flask application.

There are two usage modes which work very similiar. One is binding
the instance to a very specific Flask application::

app = Flask(name)
rst = ReStructuredText(app)

The second possibility is to create the object once and configure the
application later to support it::

rst = ReStructuredText()

def create_app():
app = Flask(__name__)
rst.init_app(app)
return app

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Flask-reStructuredText, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size Flask-reStructuredText-1.2.tar.gz (12.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page