#' Insert `%|%`
#'
#' Inserts [`%|%`][rlang::%|%] at the cursor position.
#'
#' @export
insertNADefault <- function() {
glyph <- paste0("%|%", " ")
rstudioapi::insertText(ifelse(nextToSpace(), glyph, prefixSpace(glyph)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.