I am trying to draw a presentation of ioslides rmarkdown on a jekyll website, so I need a renderfile .Rmdin a folder _postsin the main directory of my website.
But images cannot be placed in this folder, so I put them in a folder images.
My problem is that when I rendermy .Rmdall dependencies are placed in the same folder as the output file.
I tried using self_contained: falseand then passing the following arguments knitr, but that didn't work.
knitr::opts_chunk$set(fig.path = "/images/")
source
share