View source: R/sprinkle_bookdown.R
sprinkle_bookdown | R Documentation |
Tables built for the bookdown
package can be referenced
in a manner that is consistent between HTML and LaTeX documents.
sprinkle_bookdown(x, bookdown = getOption("pixie_bookdown", FALSE), ...)
## Default S3 method:
sprinkle_bookdown(x, bookdown = getOption("pixie_bookdown", FALSE), ...)
## S3 method for class 'dust_list'
sprinkle_bookdown(x, bookdown = getOption("pixie_bookdown", FALSE), ...)
x |
An object of class |
bookdown |
|
... |
Additional arguments to pass to other methods. Currently ignored. |
bookdown
is a package that facilitates the writing of books.
One of the advantages of bookdown
is the ability to reference
tables in a manner similar to LaTeX. The key difference in how
pixiedust
handles output is the reference specification. See
https://bookdown.org/yihui/bookdown/tables.html for details on how
bookdown
uses labels and references.
Change the bookdown
attribute of the dust
object.
Cast an error if x
is not a dust
object.
Cast an error if bookdown
is not a logical object.
Cast an error if bookdown
has length greater than 1.
Benjamin Nutter
https://bookdown.org/yihui/bookdown/tables.html
dust
, sprinkle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.