#' Insert the base pipe
#'
#' \code{insert_pipe} inserts a pipe wherever the cursor currently is
#' (console or editor)
#'
#' @examples
#' insert_pipe()
#'
insert_pipe <- function() {
rstudioapi::insertText(" |> ")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.