r - rmarkdown ioslides: output file in a folder and dependencies in other -
i'm trying embbed ioslides rmarkdown presentation in jekyll website, need render
.rmd
file _posts
folder in main directory of website.
but, images can't placed in folder, i'm placing in images
folder.
my problem when render
.rmd
dependencies placed in same folder output file.
i tried use self_contained: false
, pass following arguments knitr
, didn't work.
knitr::opts_chunk$set(fig.path = "/images/")
fig.path
indicates folder relative project folder. in case have use base.dir
set absolute folder:
knitr::opts_chunk$set(base.dir = "/images/")
Comments
Post a Comment