Pandoc rendering for Flask-FlatPages
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Flask-FlatPages-Pandoc-0.2.tar.gz
.
File metadata
- Download URL: Flask-FlatPages-Pandoc-0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f48d4368baf2e74c474fd716303666072f5c535d9a153211ec8e1136e50d9816 |
|
MD5 | 49e71611eee09b33e4820aca9a22094e |
|
BLAKE2b-256 | 9bc45dbf3617bd1bfc521441286263fef6cc6e80d1e5edbd5249151013d4a756 |