When authoring a document with bookdown, I am aware of four options to put configuration options:
_bookdown.yml_output.yml.Rmd documentbookdown::render_book() function. Now my question:
so far I know...hope others can complete this
First have a look at this high level explanation R markdown next use the hyperlinks provided below which all point to the documentation details
may contain multiple output formats specified by
output:
bookdown::gitbook:
bookdown::pdf_book:
bookdown::epub_book:
... but these can also be in the _output.yml as described here all formats should be at the top level, instead of under an output field.
Example
All _bookdown.yml parameters used for generating the book and save the results.
Example
book_filename: "_book_example"
repo: https://github.com/<user>/<repo>/
before_chapter_script: ["script1.R"]
after_chapter_script: ["script2.R"]
output_dir: "_book"
clean: ["deleteme.Rmd"]
rmd_files: ["index.Rmd", "02-literature.Rmd", "01-intro.Rmd"]
delete_merged_file: true
language:
label:
fig: "FIGURE "
tab: "TABLE "
ui:
edit: "Edit"
chapter_name: "Chapter "
rmd_subdir: ["content/"]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With