twList-class: A class to handle TiddlyWiki lists.

Description Usage Slots Author(s) See Also Examples

Description

Some utilities to insert ordered and unordered lists into TiddlyWiki.

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.

Author(s)

David Montaner dmontaner@cipf.es

See Also

twLink and twImage twTable

Examples

1
2
3
4
5
6
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)

Example output

[1] "* line one"    "## line two"   "## line three"
[1] "* A" "* B" "* C" "* D" "* E"

TiddlyWikiR documentation built on May 2, 2019, 9:18 a.m.