Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

fhirschmann/Flask-FlatPages-Pandoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

[DEPRECATED] Pandoc HTML rendering for Flask-FlatPages

Resources

License

Stars

Watchers

Forks

Packages

No packages published