put_tiddler {rtiddlywiki} | R Documentation |
Put a tiddler
Description
Put a tiddler
Usage
put_tiddler(
title,
text,
type = c("text/vnd.tiddlywiki", "text/x-tiddlywiki", "text/x-markdown", "text/html",
"text/plain"),
tags = NULL,
fields = NULL
)
Arguments
title |
tiddler title |
text |
tiddler text |
type |
tiddler type |
tags |
tiddler tags |
fields |
a named vector for tiddler fields |
Value
null if success
Examples
## 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)
[Package rtiddlywiki version 0.1.0 Index]