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 details)

Uploaded Source

File details

Details for the file Flask-FlatPages-Pandoc-0.2.tar.gz.

File metadata

File hashes

Hashes for Flask-FlatPages-Pandoc-0.2.tar.gz
Algorithm Hash digest
SHA256 f48d4368baf2e74c474fd716303666072f5c535d9a153211ec8e1136e50d9816
MD5 49e71611eee09b33e4820aca9a22094e
BLAKE2b-256 9bc45dbf3617bd1bfc521441286263fef6cc6e80d1e5edbd5249151013d4a756

See more details on using hashes here.

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