R/show_html.R

#' Show the HTML content
#'
#' Show the generated HTML content in the
#' R console.
#' @export
show_html <- function(x) {

  html_lines <- generate_html_lines(x)

  message("Formatted HTML content:")

  cat(html_lines)

  invisible(x)
}
rich-iannone/hyper documentation built on May 28, 2019, 4:02 p.m.