Using knitr directly instead of via rmarkdown

Problems with fenced R code blocks with Rmd to md when using rmarkdown.