3.9 Skribilo User Manual — Enumeration |
These functions implements three various style of enumerations.
(itemize :symbol [:class "itemize"
] [:ident] item...
)
(enumerate :symbol [:class "enumerate"
] [:ident] item...
)
(description :symbol [:class "description"
] [:ident] item...
)
item...
The items of the enumeration.Items are introduce by the means of the item
markup:
(item :key [:class] [:ident])
(itemize (item [A first item.]) (item [A ,(bold "second") one: ,(itemize (item "One.") (item "Two.") (item "Three."))]) (item [Lists can be nested. For instance that item contains a ,(tt "description"): ,(description (item :key (bold "foo") [is a usual Lisp dummy identifier.]) (item :key (bold "bar") [is another one.]) (item :key (list (bold "foo") (bold "bar")) [A description entry may contain more than one keyword.]))]) (item [The last ,(tt "itemize") entry contains an ,(tt "enumerate"): ,(enumerate (item "One.") (item "Two.") (item "Three."))])) (itemize :symbol "-" (item "One.") (item "Two.") (item "Three.") (item "Four."))
... produces: