* Added kable_paper style for a NYT like table
* Let column_spec take conditional formats
* Added html_font option for kable_styling
diff --git a/man/column_spec.Rd b/man/column_spec.Rd
index 698c688..aeff8ec 100644
--- a/man/column_spec.Rd
+++ b/man/column_spec.Rd
@@ -22,7 +22,11 @@
extra_css = NULL,
include_thead = FALSE,
latex_column_spec = NULL,
- latex_valign = "p"
+ latex_valign = "p",
+ link = NULL,
+ new_tab = TRUE,
+ tooltip = NULL,
+ popover = NULL
)
}
\arguments{
@@ -33,25 +37,25 @@
\item{width}{A character string telling HTML & LaTeX how wide the column
needs to be, e.g. "10cm", "3in" or "30em".}
-\item{bold}{A T/F value to control whether the text of the selected column
-need to be bolded.}
+\item{bold}{T/F value or vector to control whether the text of the selected
+column need to be bolded.}
-\item{italic}{A T/F value to control whether the text of the selected column
-need to be emphasized.}
+\item{italic}{T/F value or vector to control whether the text of the
+selected column need to be emphasized.}
-\item{monospace}{A T/F value to control whether the text of the selected column
-need to be monospaced (verbatim)}
+\item{monospace}{T/F value or vector to control whether the text of the
+selected column need to be monospaced (verbatim)}
-\item{underline}{A T/F value to control whether the text of the selected row
-need to be underlined}
+\item{underline}{T/F value or vector to control whether the text of the
+selected row need to be underlined}
-\item{strikeout}{A T/F value to control whether the text of the selected row
-need to be stricked out.}
+\item{strikeout}{T/F value or vector to control whether the text of the
+selected row need to be striked out.}
-\item{color}{A character string for column text color. Here please pay
-attention to the differences in color codes between HTML and LaTeX.}
+\item{color}{A character string or vector for column text color. Here please
+pay attention to the differences in color codes between HTML and LaTeX.}
-\item{background}{A character string for column background color. Here please
+\item{background}{A character string or vector for column background color. Here please
pay attention to the differences in color codes between HTML and LaTeX.}
\item{border_left}{A logical variable indicating whether there should be a
@@ -70,8 +74,8 @@
\item{width_max}{Only for HTML table. \code{width_max} defines the maximum width
of table columns.}
-\item{extra_css}{Extra css text to be passed into the cells of the row. Note
-that it's not for the whole column but to each individual cells}
+\item{extra_css}{A vector of extra css text to be passed into the cells of
+the column.}
\item{include_thead}{T/F. A HTML only feature to contoll whether the
header row will be manipulated. Default is \code{FALSE}.}
@@ -81,6 +85,20 @@
\item{latex_valign}{vertical alignment. Only works when you specified column
width. Choose among \code{p}, \code{m}, \code{b}.}
+
+\item{link}{A vector of strings for url links.}
+
+\item{new_tab}{T/F for whether to open up the new link in new tab}
+
+\item{tooltip}{A vector of strings to be displayed as tooltip.
+Obviously, this feature is only available in HTML. Read the package
+vignette to see how to use bootstrap tooltip css to improve the loading
+speed and look.}
+
+\item{popover}{Similar with tooltip but can hold more contents. The best way
+to build a popover is through \code{spec_popover()}. If you only provide a text
+string, it will be used as content. Note that You have to enable this
+bootstrap module manually. Read the package vignette to see how.}
}
\description{
This function allows users to select a column and then specify