I'm trying to embbed an ioslides rmarkdown presentation in a jekyll website, so I need to render
the .Rmd
file to a _posts
folder in the main directory of my website.
But, images can't be placed in this folder, so I'm placing then in a images
folder.
My problem is that when I render
my .Rmd
all dependencies are placed in the same folder as the output file.
I tried to use the self_contained: false
and then pass the following arguments to knitr
, but this didn't work.
knitr::opts_chunk$set(fig.path = "/images/")