Pandoc HTML rendering for Flask-FlatPages