| write_config | R Documentation |
This function will write a list as a TOML. This is not a fully fledged TOML writer and is used only for testing purposes.
write_config(x, file)
x |
a named list |
file |
path to file where TOML config will be written |
config = list(
"xml" = list("chunk" = "<xml>{{tag}}</xml>"),
"templates" = list(),
"defaults" = list("tag" = "Just another tag in the wall!")
)
write_config(config, stdout())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.