====== yalist plugin ====== ---- plugin ---- description: Simple universal list plugin author : Ben Slusky email : sluskyb@paranoiacs.org type : syntax lastupdate : 2008-07-08 compatible : 2007-06-26, 2008-05-05, and possibly others depends : conflicts : similar : definitions, definitionlist, deflist, dl, lists, mllist tags : list, definitions ---- ===== Overview ===== There are many list syntax plugins (see the list of similar plugins above), but this one is mine. I created it because I am not happy with any of the others: * Only [[plugin:lists]] and [[plugin:deflist]] allow paragraph breaks within list items, but their syntax is radically different from the standard DokuWiki [[:syntax#lists|syntax for lists]]. Worse, the syntax that each plugin introduces for list item terminators differs from the other.((Which is especially strange, since they were written by the same author.)) * [[plugin:definitions]] and [[plugin:definitionlist]] do not allow nested definition lists. * [[plugin:deflist]] and [[plugin:dl]] allow nested definition lists, and un/ordered lists nested in definition lists,(([[plugin:lists]] and [[plugin:deflist]] in combination allow arbitrary nesting of lists.)) but neither one properly uses the "class=level//N//" style to mark the depth of a list item, as the standard DokuWiki list handler does. * [[plugin:deflist]] and [[plugin:dl]] automatically create a "bookmark" for each definition list term, which introduces a new requirement that definition list terms be unique within a document. This is IMO not a good idea. My goal in creating yalist was to integrate definition lists into the existing nestable list handler, and to allow list items to contain multiple paragraphs, while maintaining syntax- and output-level compatibility with the existing list handler. yalist achieves this by pre-empting DokuWiki's list handler, replacing it with a new handler and renderer that render the standard list syntax exactly as DocuWiki would. ===== Syntax ===== - ordered list item [
  1. ] * unordered list item [