Knitr and Pandoc rendering for Flask-FlatPages