Learn R Programming

TiddlyWikiR (version 1.0.1)

twList-class: A class to handle TiddlyWiki lists.

Description

Some utilities to insert ordered and unordered lists into TiddlyWiki.

Arguments

Usage

new ("twList", elements, level, type) twList (elements, ...)

Slots

elements:
a character vector of the elements of the list.
level:
a numeric vector indicating the level of indentation of each of the elements of the list.
type:
a character vector indicating the desired bullet type. Allowed values are: "o" for "ordered" type elements and "u" for unordered.

See Also

twLink and twImage twTable

Examples

Run this code
list1 <- new ("twList", elements = c("line one", "line two", "line three"),
              level = c(1,2,2), type = c("u", "o", "o"))
list2 <- twList (LETTERS[1:5])

wikify (list1)
wikify (list2)

Run the code above in your browser using DataLab