Skip to main content

Pandoc rendering for Flask-FlatPages

Project description

https://travis-ci.org/fhirschmann/Flask-FlatPages-Pandoc.png?branch=master https://badge.fury.io/py/Flask-FlatPages-Pandoc.png

Flask-FlatPages-Pandoc is an HTML renderer for Flask-FlatPages that uses pandoc as backend.

Quickstart

Flask-FlatPages-Pandoc is very easy to set up. First, install it using pip:

pip install Flask-FlatPages-Pandoc

Then, given that you already have a Flask application instance, all you have to do is:

from flask_flatpages_pandoc import FlatPagesPandoc

pages = FlatPages(app)
FlatPagesPandoc("markdown", app, ["--mathjax"])

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-FlatPages-Pandoc-0.2.tar.gz (3.4 kB view hashes)

Uploaded Source

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