Markdown makefiles and templates using pandoc and knitr.