View source: R/knitr-printers.R
printer_tabset | R Documentation |
knit_print
)Converts a list to a Quarto / RMD tabset using the names as tab headings.
printer_tabset(x, options, ...)
x |
list. Each element is passed to |
options, ... |
arguments required for a |
These methods are to be used in Quarto / RMD reports.
For global usage on all objects of class foo
, register as an S3 method,
typically in the setup chunk.
library(knitr) registerS3method("knit_print", "foo", printer_*)
For one-off usage, set the render
chunk option, that is:
```{r} #| render: !expr printer_* ```
Generic documentation, knit_print
.
Detailed vignette, vignette("knit_print", package = "knitr")
.
Related printr
package.
Other Knitr printer methods:
printer_equation()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.