Adding lightable theme
diff --git a/man/add_header_above.Rd b/man/add_header_above.Rd
index 2f0d133..99e6931 100644
--- a/man/add_header_above.Rd
+++ b/man/add_header_above.Rd
@@ -33,7 +33,11 @@
example, \code{c(" " = 1, "title" = 2)} can be used to create a new header row
for a 3-column table with "title" spanning across column 2 and 3. For
convenience, when \code{colspan} equals to 1, users can drop the \verb{ = 1} part.
-As a result, \code{c(" ", "title" = 2)} is the same as \code{c(" " = 1, "title" = 2)}.}
+As a result, \code{c(" ", "title" = 2)} is the same as \code{c(" " = 1, "title" = 2)}.
+Alternatively, a data frame with two columns can be provided: The first
+column should contain the header names (character vector) and the second
+column should contain the colspan (numeric vector). This input can be used
+if there are problems with unicode characters in the headers.}
\item{bold}{A T/F value to control whether the text should be bolded.}
diff --git a/man/html_dependency_lightable.Rd b/man/html_dependency_lightable.Rd
new file mode 100644
index 0000000..8894860
--- /dev/null
+++ b/man/html_dependency_lightable.Rd
@@ -0,0 +1,11 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/print.R
+\name{html_dependency_lightable}
+\alias{html_dependency_lightable}
+\title{HTML dependency for lightable}
+\usage{
+html_dependency_lightable()
+}
+\description{
+HTML dependency for lightable
+}
diff --git a/man/kable_classic.Rd b/man/kable_classic.Rd
new file mode 100644
index 0000000..b453748
--- /dev/null
+++ b/man/kable_classic.Rd
@@ -0,0 +1,30 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/light_themes.R
+\name{kable_classic}
+\alias{kable_classic}
+\alias{kable_minimal}
+\alias{kable_material}
+\title{Alternative HTML themes}
+\usage{
+kable_classic(kable_input, striped = FALSE, hover = FALSE, ...)
+
+kable_minimal(kable_input, striped = FALSE, hover = FALSE, ...)
+
+kable_material(kable_input, striped = FALSE, hover = FALSE, ...)
+}
+\arguments{
+\item{kable_input}{A HTML kable object.}
+
+\item{striped}{T/F for adding striped rows.}
+
+\item{hover}{T/F for adding hover effects.}
+
+\item{...}{Everything else you need to specify in \code{kable_styling}.}
+}
+\description{
+kableExtra uses the built-in bootstrap themes by default in
+\code{kable_styling()}. Alternatively, you can use a customized table themes for
+your table. This \code{lightable} table style sheet comes with three formats,
+namely \code{lightable-minimal}, \code{lightable-classic} and \code{lightable-material} with
+\code{hover} and \code{striped} options.
+}
diff --git a/man/kable_styling.Rd b/man/kable_styling.Rd
index f21be79..49c17c8 100644
--- a/man/kable_styling.Rd
+++ b/man/kable_styling.Rd
@@ -20,7 +20,8 @@
latex_table_env = NULL,
protect_latex = TRUE,
table.envir = "table",
- fixed_thead = FALSE
+ fixed_thead = FALSE,
+ lightable_class = NULL
)
}
\arguments{
@@ -30,7 +31,7 @@
Please see package vignette or visit the w3schools'
\href{https://www.w3schools.com/bootstrap/bootstrap_tables.asp}{Bootstrap Page}
for more information. Possible options include \code{basic}, \code{striped},
-\code{bordered}, \code{hover}, \code{condensed} and \code{responsive}.}
+\code{bordered}, \code{hover}, \code{condensed}, \code{responsive} and \code{none}.}
\item{latex_options}{A character vector for LaTeX table options. Please see
package vignette for more information. Possible options include
@@ -94,6 +95,10 @@
\item{fixed_thead}{HTML table option so table header row is fixed at top.
Values can be either T/F or \code{list(enabled = T/F, background = "anycolor")}.}
+
+\item{lightable_class}{Options to use the in-house lightable themes.
+Choices include \code{lightable-minimal}, \code{lightable-classic},
+\code{lightable-material}, \code{lightable-striped} and \code{lightable-hover}.}
}
\description{
This function provides a cleaner approach to modify the style