#' Internal expression replacement with grep
#'
#' @param x pattern
#'
#' @export
replaceExpressions.PlainTextDocument <- function(x){
x <- gsub("-", " ", x, ignore.case =FALSE, fixed = TRUE)
x <- gsub(".", "\n", x,ignore.case = FALSE, fixed = TRUE)
x <- gsub("_", "\n", x,ignore.case = FALSE, fixed = TRUE)
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.