citr (version 0.3.0)

md_cite_zotero: Insert citation in Markdown format from Zotero

Description

Look up entries in Zotero database and insert citation in Markdown format.

Usage

md_cite_zotero(in_paren = TRUE)

Arguments

in_paren

Logical. Determines if citation is in parentheses.

Value

If the bibliography contains exactly one match the formated citation is returned, otherwise returns NULL. md_cite returns an in-text citation ("@foo2016"), md_cite returns an in-parenthesis citation ("[@foo2016]").

Details

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.

See Also

insert_citation

Examples

Run this code
# NOT RUN {
  md_cite_zotero()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab