blob: 2f6e558524a5fdfad8965bed2bc879875ae68dcf [file] [log] [blame]
Hao Zhu8dd65a92018-01-05 20:40:27 -05001---
2title: "add_footnote_adv"
3author: "Hao"
4date: "1/5/2018"
5output: html_document
6---
7
8```{r}
9library(knitr)
10library(kableExtra)
11
12mtcars[1:5, 1:5] %>%
Hao Zhu1ac13ad2018-01-08 16:12:24 -050013 kable("html", caption = paste0("test", footnote_marker_symbol(1))) %>%
Hao Zhu8dd65a92018-01-05 20:40:27 -050014 kable_styling() %>%
Hao Zhucdd7f922018-01-08 11:39:40 -050015 footnote("ccc", c("number 1; ", "number 2. "), c("a 1; ", "a 2."), c("s 1; ", "s 2."),
Hao Zhu8dd65a92018-01-05 20:40:27 -050016 number_title = "special: ", alphabet_title = "abc: ",
17 footnote_as_chunk = T)
18```