is_wednesday <- function(x, ...) {
date <- Sys.Date()
if(weekdays(date) == "Wednesday"){
cat("It's Wednesday!")
}else{cat("Nope! Try again another day!")}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.