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.

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page