Description Usage Arguments Value Examples
When a new version of Zotero is released, sometimes, citekeys are changed, thereby breaking references in an existing Rmarkdown file. This function:
Takes in a text string, and a file path to the .bib file
Extracts citekeys from both the text string and bib file
Uses fuzzy matching to replace the citekeys in text with the most likely matching citekeys from bibfile.
1 | update_citekeys(text, bibfile, ...)
|
text |
Character string. Text from an Rmarkdown file. |
bibfile |
Character string. Path to .bib file. |
... |
Arguments passed to |
A character string.
1 2 3 4 | ## Not run:
update_citekeys(readLines("clipboard"), "references.bib")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.