set rmarkdown rendering context into opts_knit