md_cite_zotero: Insert citation in Markdown format from Zotero

Description Usage Arguments Details Value See Also Examples

View source: R/md_cite_zotero.R

Description

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

Usage

1
md_cite_zotero(in_paren = TRUE)

Arguments

in_paren

Logical. Determines if citation is in parentheses.

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.

Value

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

See Also

insert_citation

Examples

1
2
3
4
## Not run: 
  md_cite_zotero()

## End(Not run)

citr documentation built on Aug. 19, 2019, 5:03 p.m.