浏览代码

Use section divs and render to HTML5

master
父节点
当前提交
d7c2a6b809
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      R/bulma_document.R

+ 4
- 2
R/bulma_document.R 查看文件

@@ -84,7 +84,9 @@ bulma_document <- function(
# browser()
}

pandoc_args <- c(pandoc_args, rmarkdown::pandoc_toc_args(toc, toc_depth))
pandoc_args <- c(pandoc_args,
"--section-divs",
rmarkdown::pandoc_toc_args(toc, toc_depth))

mathjax_url <- if (mathjax %in% c("default", "local")) {
mathjax_local <- Sys.getenv("RMARKDOWN_MATHJAX_PATH", unset = NA)
@@ -110,7 +112,7 @@ bulma_document <- function(
fig_width, fig_height, fig_retina, keep_md, dev
),
pandoc = rmarkdown::pandoc_options(
to = "html",
to = "html5",
from = "markdown+ascii_identifiers+tex_math_single_backslash",
args = c(
css_files,

正在加载...
取消
保存