Renderers for Wikidot ordered/unordered lists and definition lists.
Wikidot list syntax uses * (unordered) and # (ordered) prefixes
with indentation controlling nesting depth. The parser produces a
recursive ListData structure with items that can be either
"elements" (content) or "sub-list" (nested list).
Special behaviors replicated from Wikidot:
Empty lists are silently dropped (no output at all).
Items with _noMarker have list-style: none and the first
paragraph is unwrapped (no <p> tags).
Sub-lists without a preceding content item get an inline hidden <li>.
Leading/trailing whitespace-only text nodes are trimmed from items.
Renderers for Wikidot ordered/unordered lists and definition lists.
Wikidot list syntax uses
*(unordered) and#(ordered) prefixes with indentation controlling nesting depth. The parser produces a recursiveListDatastructure with items that can be either "elements" (content) or "sub-list" (nested list).Special behaviors replicated from Wikidot:
_noMarkerhavelist-style: noneand the first paragraph is unwrapped (no<p>tags).<li>.