| put_tiddler | R Documentation |
Put a tiddler
put_tiddler(
title,
text,
type = c("text/vnd.tiddlywiki", "text/x-tiddlywiki", "text/x-markdown", "text/html",
"text/plain", "application/json"),
tags = NULL,
fields = NULL,
recipe = TW_OPTIONS("recipe")
)
title |
tiddler title |
text |
tiddler text |
type |
tiddler type |
tags |
tiddler tags which is merged with existing tags |
fields |
a named vector for tiddler fields which is merged with existing tags |
recipe |
string defining which recipe to write to (optional, defaults to "default") |
No return value
## Not run:
title <- "New tiddler"
text <- c("!! Section",
"This is a new tiddler")
type <- "text/vnd.tiddlywiki"
tags <- c("Tag1", "Tag 2")
fields <- c("F1" = "V1", "F2" = "V2")
put_tiddler(title = title,
text = text,
type = type,
tags = tags,
fields = fields)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.