#' Replace space with new line
#'
#' This function replace space with a new line
#'
#' @param str string with spaces
#' @return The string with '\n' as replacement for the space
space.line <- function(str) {
gsub(" ", "\n", str)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.