#' Insert @rdname.
#'
#' Call this function as an addin to insert \code{@rdname} at the cursor position.
#'
#' @importFrom rstudioapi insertText
#'
#' @export
InsertRrdname <- function() {
rstudioapi::insertText("@rdname")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.