Skip to content

Commit

Permalink
Fix format in render_book() example: pdf_book -> bookdown::pdf_book (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLukeThiessen authored May 14, 2021
1 parent baab4be commit e293790
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#' # will use the default format defined in index.Rmd or _output.yml
#' bookdown::render_book("index.Rmd")
#' # will use the options for format defined in YAML metadata
#' bookdown::render_book("index.Rmd", "pdf_book")
#' bookdown::render_book("index.Rmd", "bookdown::pdf_book")
#' # If you pass an output format object, it must have all the options set
#' bookdown::render_book("index.Rmd", bookdown::pdf_book(toc = FALSE))
#'
Expand Down
2 changes: 1 addition & 1 deletion man/render_book.Rd

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

0 comments on commit e293790

Please sign in to comment.