13.5 Linking with bookdown

As explained in Section 12.3, bookdown offers several extensions to the Markdown syntax, which can be particularly useful for academic writing, including cross-referencing of figures and tables. All rticles output formats are based on rmarkdown::pdf_document, and we can use them as the “base formats” for bookdown::pdf_document2, e.g.,

output:
  bookdown::pdf_document2:
    base_format: rticles::peerj_article

You can substitute rticles::peerj_article with the template you actually intend to use.