update footnote doc; fix a bug in row_spec
diff --git a/man/footnote.Rd b/man/footnote.Rd
index b2cc29c..8cda4fc 100644
--- a/man/footnote.Rd
+++ b/man/footnote.Rd
@@ -49,3 +49,8 @@
also possible to specify footnote section header one by one and print
footnotes as a chunk of texts.
}
+\examples{
+x <- mtcars[1:5, 1:5]
+footnote(knitr::kable(dt, "html"), alphabet = c("Note a", "Note b"))
+
+}
diff --git a/man/footnote_marker_number.Rd b/man/footnote_marker_number.Rd
index c16664c..1c3ba37 100644
--- a/man/footnote_marker_number.Rd
+++ b/man/footnote_marker_number.Rd
@@ -26,3 +26,10 @@
\code{format} option here can read default value from global option
\code{knitr.table.format}.
}
+\examples{
+x <- mtcars[1:5, 1:5]
+colnames(dt)[1] <- paste0("mpg", footnote_marker_alphabet(2, "html"))
+rownames(dt)[2] <- paste0(rownames(dt)[2], footnote_marker_alphabet(1, "html"))
+footnote(knitr::kable(dt, "html"), alphabet = c("Note a", "Note b"))
+
+}
diff --git a/man/row_spec.Rd b/man/row_spec.Rd
index 0338b13..da3c7b2 100644
--- a/man/row_spec.Rd
+++ b/man/row_spec.Rd
@@ -6,7 +6,7 @@
\usage{
row_spec(kable_input, row, bold = FALSE, italic = FALSE,
monospace = FALSE, color = NULL, background = NULL, align = NULL,
- font_size = NULL, angle = NULL, extra_css)
+ font_size = NULL, angle = NULL, extra_css = NULL)
}
\arguments{
\item{kable_input}{Output of \code{knitr::kable()} with \code{format} specified}