Commit index.md file from knitr and output plots