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.

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask-FlatPages-Pandoc-0.2.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None

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