commit | e5b9bffdab869283f0933cd1bd0cf30b6857947d | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sun May 20 17:40:03 2018 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Sun May 20 17:40:03 2018 -0400 |
tree | 135134b2c06b97b7f2c7adebf8afa9bf1aac29c6 | |
parent | 63ff3287901a08ec6806a76daa85dd02999fc965 [diff] [blame] |
Adding support to ioslides_presentation and slidy_presentation
diff --git a/R/zzz.R b/R/zzz.R index 982d9de..fcdac4b 100644 --- a/R/zzz.R +++ b/R/zzz.R
@@ -18,4 +18,10 @@ } auto_format <- getOption("kableExtra.auto_format", default = TRUE) if (auto_format) auto_set_format() + if (!is.null(rmarkdown::metadata$output) && + rmarkdown::metadata$output %in% c( + "ioslides_presentation", "slidy_presentation" + )) { + options(kableExtra.html.bsTable = TRUE) + } }