add all_cols to add_indent
diff --git a/man/save_kable.Rd b/man/save_kable.Rd
index 562ac79..76c144c 100644
--- a/man/save_kable.Rd
+++ b/man/save_kable.Rd
@@ -4,9 +4,16 @@
\alias{save_kable}
\title{Save kable to files}
\usage{
-save_kable(x, file, bs_theme = "simplex", self_contained = TRUE,
- extra_dependencies = NULL, ..., latex_header_includes = NULL,
- keep_tex = FALSE)
+save_kable(
+ x,
+ file,
+ bs_theme = "simplex",
+ self_contained = TRUE,
+ extra_dependencies = NULL,
+ ...,
+ latex_header_includes = NULL,
+ keep_tex = FALSE
+)
}
\arguments{
\item{x}{A piece of HTML code for tables, usually generated by kable and
@@ -21,16 +28,16 @@
\item{self_contained}{Will the files be self-contained?}
\item{extra_dependencies}{Additional HTML dependencies. For example,
-\code{list(}}
+\verb{list(}}
\item{...}{Additional variables being passed to \code{webshot::webshot}. This
is for HTML only.}
\item{latex_header_includes}{A character vector of extra LaTeX header stuff.
Each element is a row. You can have things like
-\code{c("\\\\usepackage{threeparttable}", "\\\\usepackage{icons}")} You could
+\code{c("\\\\\\\\usepackage{threeparttable}", "\\\\\\\\usepackage{icons}")} You could
probably add your language package here if you use non-English text in your
-table, such as \code{\\\\usepackage[magyar]{babel}}.}
+table, such as \verb{\\\\\\\\usepackage[magyar]\{babel\}}.}
\item{keep_tex}{A T/F option to control if the latex file that is initially created
should be kept. Default is \code{FALSE}.}
@@ -38,3 +45,13 @@
\description{
Save kable to files
}
+\examples{
+\dontrun{
+library(kableExtra)
+
+kable(mtcars[1:5, ], "html") \%>\%
+ kable_styling("striped") \%>\%
+ row_spec(1, color = "red") \%>\%
+ save_kable("inst/test.pdf")
+}
+}