Skip to content

Commit e5b2d7f

Browse files
committed
close rstudio#782: we can use bookdown::markdown_document2() without any arguments now since all arguments have got default values
1 parent 687b672 commit e5b2d7f

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: bookdown
22
Type: Package
33
Title: Authoring Books and Technical Documents with R Markdown
4-
Version: 0.16.1
4+
Version: 0.16.2
55
Authors@R: c(
66
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
77
person("JJ", "Allaire", role = "ctb"),
@@ -78,5 +78,5 @@ URL: https://github.com/rstudio/bookdown
7878
BugReports: https://github.com/rstudio/bookdown/issues
7979
SystemRequirements: Pandoc (>= 1.17.2)
8080
LazyData: TRUE
81-
RoxygenNote: 7.0.0
81+
RoxygenNote: 7.0.1
8282
Encoding: UTF-8

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
- For output formats like `pdf_book`, unused arguments passed to `base_format` will be discarded (thanks, @jooyoungseo, #790).
66

7+
## MINOR CHANGES
8+
9+
- The default value of `base_format` in the `markdown_document2` format is `rmarkdown::md_document` now. Previously the default value is missing.
10+
711
# CHANGES IN bookdown VERSION 0.16
812

913
## NEW FEATURES

R/word.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#' @rdname html_document2
22
#' @export
33
markdown_document2 = function(
4-
fig_caption = TRUE, md_extensions = NULL, pandoc_args = NULL, ..., base_format
4+
fig_caption = TRUE, md_extensions = NULL, pandoc_args = NULL, ...,
5+
base_format = rmarkdown::md_document
56
) {
67
from = rmarkdown::from_rmarkdown(fig_caption, md_extensions)
78

man/html_document2.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy