#' Insert `%in%`
#'
#' Inserts [`%in%`][base::%in%] at the cursor position.
#'
#' @export
insertIn <- function() {
glyph <- paste0("%in%", " ")
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.