| Parameter in YAML header | Detail |
|---|---|
toc | table of contents |
number_sections | numbering the sections automatically |
bibliography | path to the bibliography file |
csl | path to the style file |
The purpose of this documentation is integrating an academic bibliography in a RMD file.
To use the documentation given above, you have to install rmarkdown in R via install.packages("rmarkdown").
Sometimes Rmarkdown removes the hyperlinks of the citations. The solution for this is adding the following code to your YAML header:
link-citations: true
The bibliography may have any of these formats:
| Format | File extension |
|---|---|
| MODS | .mods |
| BibLaTeX | .bib |
| BibTeX | .bibtex |
| RIS | .ris |
| EndNote | .enl |
| EndNote XML | .xml |
| ISI | .wos |
| MEDLINE | .medline |
| Copac | .copac |
| JSON citeproc | .json |