View source: R/sync_rmd_to_blog_dirs.R
sync_rmd_to_blog_dirs | R Documentation |
syncs/copies Rmd files to blog directories For example: I keep my blog files as hugo+bookdown files inside some directory. But I keep my Rmd files in some external directories. By using sync_rmd_to_blog_dirs(".") I can copy all Rmd files in current directory to those blog directories with external dependency files included. Note that, external dependency resources, should be explicitly specified in yaml header such as: resource_files: - ./globals.R
sync_rmd_to_blog_dirs(dir = ".")
dir |
source directory for Rmd files |
sync_rmd_to_blog_dirs(".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.