Knitr preprocessing for Flask-FlatPages