(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-2) was last changed on 10-Apr-2007 20:59 by RadomirDopieralski

This page was created on 10-Apr-2007 20:52 by RadomirDopieralski

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed 21 lines
This is another possibility to implement nested lists. It has the advantage of not conflicting with any "multiple character" markup, but limits the maximum nesting level of the lists and can possibly conflict with native single-character markup of some wiki engines, when it can be followed by a space at a beginning of a line (examples?).
Any line that starts with zero or more spaces or tabs, followed by one of characters from the set "{{{-+*@$&%=:#~.}}}" (called a bullet), followed by one or more space or tab is considered a list item. Any number of nonempty (containing something else than whitespace) lines following such a line, and not being a list item themselves, are considered part of the first list item. The indetation of the line is either ignored or used for whatever native markup the engine has (usually pre block).
Subsequent list items are considered a part of the same list if and only if they use the same character for their bullet. A change in the bullet character used indicates list nesting -- all list items using the same bullet character are considered to be on the same nesting level.
The rendering of the list **may** depend on the bullet used. For example, hyphens can be used for lists created with "-", "~" or "=", while a numbered list may be created when "#", "%", "$" or "&" are used.
- One
- Two
# Numbered sublist
& Numbered subsublist
- Three
= Alpha
* Ein
* Zwei
= Beta
- Four
Version Date Modified Size Author Changes ... Change note
2 10-Apr-2007 20:59 0.013 kB RadomirDopieralski to previous oops, wrong link
1 10-Apr-2007 20:52 1.492 kB RadomirDopieralski to last yet another proposal, enjoy
« This page (revision-2) was last changed on 10-Apr-2007 20:59 by RadomirDopieralski