| list2toml | R Documentation |
Convert list to a string vector that represents of TOML. Each item of the vector represents a line of the TOML file.
list2toml(x)
x |
a named list |
list2toml process structured lists recursively by first processing any non-list members
and then processing remaining items of the list type using another call of lit2toml.
In these calls, the name of the item is used as a parent_name.
a string vector representing individual lines of TOML representation of x.
config = list(
"xml" = list("chunk" = "<xml>{{tag}}</xml>"),
"templates" = list(),
"defaults" = list("tag" = "Just another tag in the TOML!")
)
list2toml(config)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.