R/bcomment.R

Defines functions bcomment

Documented in bcomment

#' Wrapper function around \code{colfmt()} to make the font blue.
#'
#' In addition to adding color, underscores are prepended and
#' append for HTML and \code{\\emph{}} is used for LaTeX
#'
#' @param x character string with comment
#' @export
bcomment <- function(x) {
  colfmt(x, color = "blue")
}
rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.