bibentry2rmd | R Documentation |
R markdown format of a citation and/or bibentry object.
bibentry2rmd(x = "R")
x |
character scalar,
|
Function bibentry2rmd beautifies the output from
function utils:::format.bibentry
(with option style = 'text'
)
in the following ways.
Line break '\n'
is replaced by a white space;
Fancy quotes ``
, ''
, `
and '
are removed;
doi entries are shown as URLs with labels (in R markdown grammar).
Function bibentry2rmd returns a character scalar or vector.
bibentry2rmd('survival')
if (FALSE) { # disabled for ?devtools::check
ap = rownames(installed.packages())
lapply(ap, FUN = bibentry2rmd)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.