#' Add a section.
#'
#' @param msg a character string that will be displayed.
#'
#' @return A `section` object.
#' @export
fob_section <- function(msg) {
structure(
function() {
msgSection(msg)
invisible(msgSection)
},
class = "section",
name_field = "section"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.