View source: R/detect-citations.R
bbt_detect_citations | R Documentation |
By default, this omits any references within code chunks, inline R code, or URLs. To force the inclusion of a reference in the output, include it in an HTML comment or the nocite front matter field.
bbt_detect_citations(
path = bbt_guess_citation_context(),
locale = readr::default_locale()
)
bbt_guess_citation_context()
path |
A character vector, file or URL whose contents may contain citation keys.
Multiple files can be passed in as a vector (e.g., from |
locale |
See |
A character vector of unique citation keys.
bbt_detect_citations("\n@citation1 and [@citation2] but not \\@citation3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.