get_this_rmd_file | R Documentation |
Depending on whether this function is called from inside of RStudio or from outside, the rstudioapi is used or rprojroot is used to determine the name of the current rmdfile
get_this_rmd_file()
name of current rmd file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.