R/show_html.R

Defines functions show_html

Documented in show_html

#' 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 16, 2018, 11:24 a.m.