| @@ -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, | |||