knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
View the list of available journal names with rticles::journals()
.
You may want to use features of the bookdown package like automatic numbering and cross-referencing of figures and tables in your article. To do this, you'll need to follow bookdown documentation, i.e. to edit your YAML to:
Switch to the bookdown::pdf_book
output format, and
Supply your rticles template of choice as the base_format
.
output: bookdown::pdf_book: base_format: rticles::peerj_article
Read more about using the rticles package here: https://bookdown.org/yihui/rmarkdown/journals.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.