#' @export
#'
stars_to_bold <- function (text) {
out <- gsub("([[:digit:]]+)\\.([[:digit:]]+)\\^\\{\\*+\\}",
"\\\\textbf{\\1}.\\\\textbf{\\2}", text)
cat(out, sep = "\n")
invisible(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.