as_document | R Documentation |
rmd_ast
, rmd_tibble
, or any ast node into text.Convert an rmd_ast
, rmd_tibble
, or any ast node into text.
as_document(x, padding = "", collapse = NULL, use_yaml_opts = TRUE, ...)
x |
|
padding |
Padding to add between nodes when assembling the text. |
collapse |
If not |
use_yaml_opts |
Logical. Whether to use YAML format for chunk options (default TRUE). |
... |
Passed to |
Returns a character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.