Invoke RStudio add-in to insert Markdown citations
1 2 3 4 5 6
Character. Path to Bib(La)TeX-file. See details.
Character. Bibliography format to export from Zotero/Juris-M. Can be either
Character. Encoding of the Bib(La)TeX-file. See the
The path to the Bib(La)TeX-file can be set in the global options and is set to
./references.bib when the package is loaded. Once the path is changed in the
RStudio addin, the global option is updated. If
use_betterbiblatex = TRUE references
are imported from Zotero/Juris-M rather than from the Bib(La)TeX-file. The Bib(La)TeX-file
is then updated to include the inserted reference.
insert_citation is called while the focus is on a R Markdown document,
which includes a YAML front matter with paths to one or more bibliography files,
bib_file is ignored. Instead the file(s) from the YAML front matter are used.
The addin caches bibliographies to avoid unnecessary hard drive access. If the specified bibliography path or the file paths in the YAML header change the files are reloaded. To manually reload a bibliography at an unchanged location click the action link.
Inserts selected Markdown citation(s) at current location.
1 2 3 4
## Not run: insert_citation() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.