commit | c145088eb8678a57130ee709f82f58cbc1ce9cd5 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed Oct 03 17:56:26 2018 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed Oct 03 17:56:26 2018 -0400 |
tree | 2040c08e8bb834a6da0681b57e924382bcc8a334 | |
parent | b548aace3bc341ca7084fc40b8b18eb4233129ae [diff] [blame] |
add bookdown example
diff --git a/R/zzz.R b/R/zzz.R index fcdac4b..e7b3c60 100644 --- a/R/zzz.R +++ b/R/zzz.R
@@ -24,4 +24,8 @@ )) { options(kableExtra.html.bsTable = TRUE) } + if (!is.null(knitr::opts_knit$get("rmarkdown.pandoc.to")) && + knitr::opts_knit$get("rmarkdown.pandoc.to") %in% c("epub3", "epub")) { + options(kableExtra.knit_print.dependency = FALSE) + } }