knitr::opts_knit$set(root.dir = rprojroot::find_rstudio_root_file()) # Set WD to Root here::i_am("dev/pandoc.Rmd") library(rmarkdown) library(here)
tmp <- pandoc_template(metadata = list(place = "World"), template = here("dev/test_data/temp.txt"), output = here("dev/test_data/out.txt")) tmp rm(tmp)
Output path is not vectorized, this will error
pandoc_template(metadata = list(place = "World"), template = here("dev/test_data/temp.txt"), output = c(here("dev/test_data/out1.txt"), here("dev/test_data/out1.txt")) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.