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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -