(anonymous guest) (logged out)

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

Sponsored by the Wiki Symposium and the Nuveon GmbH.


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

Add new attachment

Only authorized users are allowed to upload new attachments.

« This page (revision-1) was last changed on 10-Apr-2007 21:00 by RadomirDopieralski