#' A function to read text from github (or really any site)
#'
#' @param url URL to RAW github text file
#'
#' @details This is a helper function for getting text files from my Github repo.
#' It is currently used in the update_rprofile function and could be used in
#' future functions such as update_gitignore.
#'
text_from_github <- function(url){
github.text <- readr::read_file(url)
return(github.text)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.