Pandoc HTML rendering for Flask-FlatPages
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
flask_flatpages_pandoc
testapp
.travis.yml
LICENSE.txt
MANIFEST.in
README.rst
setup.py
tests.py

README.rst

Flask-FlatPages-Pandoc

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"])

Links