#' Word Count
#'
#' @param string Character. String for word count.
#'
#' @export
#'
wc <- function(string) {
sapply(strsplit(string, " "), length)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.