View source: R/pkgdown_print.R
pkgdown_print | R Documentation |
This lets package authors control how objects are printed just for
pkgdown examples. The default is to call print()
apart from htmlwidgets
where the object is returned as is (with sizes tweaked).
pkgdown_print(x, visible = TRUE)
x |
Object to display |
visible |
Whether it is visible or not |
Either a character vector representing printed output (which will be escaped for HTML as necessary) or literal HTML produced by the htmltools or htmlwidgets packages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.