Skip to content

Commit

Permalink
fix html_chapters defaults as well
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinabrock committed Feb 6, 2025
1 parent f701546 commit 9feeb42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/html.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ html_chapters = function(
template = bookdown_file('templates/default.html'),
global_numbering = !number_sections, pandoc_args = NULL, ...,
base_format = rmarkdown::html_document, split_bib = TRUE, page_builder = build_chapter,
split_by = c("none", "rmd", outer(c("chapter", "section", 1:6), c("", "+number"), paste0))
split_by = c(outer(c("chapter", "section", 1:6), c("", "+number"), paste0), "rmd", "none")
) {
config = get_base_format(base_format, list(
toc = toc, number_sections = number_sections, fig_caption = fig_caption,
Expand Down
4 changes: 2 additions & 2 deletions man/html_chapters.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9feeb42

Please sign in to comment.