#' Print complete path of current file
#' @export
printScriptDir <- function(x = .){ cat(rstudioapi::getActiveDocumentContext()$path )}
#' @examples
#' printScriptDir()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.