mrkToUrl <- function(x)
gsub("^\\**\\[.+\\]\\((.+)\\).*$", "\\1", x)
validUrl <- function(x) {
got <- httr::GET(x)
httr::stop_for_status(got)
TRUE
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.