Skip to main content

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.

Source Distribution

Flask-reStructuredText-1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distributions

Flask_reStructuredText-1.0-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page