new df_print option: theme-styled data frame tables by default (kable)
Change-Id: I827aa1c5f372ee78944a8bd32f51caea1731e87f
diff --git a/man/revealjs_presentation.Rd b/man/revealjs_presentation.Rd
index fe4fb7e..7f48a89 100644
--- a/man/revealjs_presentation.Rd
+++ b/man/revealjs_presentation.Rd
@@ -21,6 +21,7 @@
reveal_options = NULL,
reveal_plugins = c("notes", "search", "menu", "zoom"),
highlight = "default",
+ df_print = "kable",
mathjax = "default",
template = "default",
css = NULL,
@@ -103,6 +104,14 @@
Pass \code{NULL} to prevent syntax highlighting.}
+\item{df_print}{Method used to print data frames in the document. The
+default, \code{"kable"}, renders data frames as plain HTML tables styled by
+the presentation theme, so that results look reasonable on slides without
+any extra code. Since \code{"kable"} prints all rows, consider showing only
+\code{head(x)} on slides with many-rowed results. Other supported methods are
+\code{"default"} (plain text output), \code{"tibble"}, and \code{"paged"} (an
+interactive paged table, see \code{\link[rmarkdown:html_document]{rmarkdown::html_document()}}).}
+
\item{mathjax}{Include mathjax. The "default" option uses an https URL from a
MathJax CDN. The "local" option uses a local version of MathJax (which is
copied into the output directory). You can pass an alternate URL or pass