====== yalist Plugin ====== ---- plugin ---- description: Simple universal list plugin author : Mark Prins (previously Ben Slusky) email : mprins@users.sf.net type : syntax lastupdate : 2023-06-30 compatible : Rincewind, Angua, Adora Belle, Weatherwax, Ponder Stibbons, Hrun, Binky, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Jack Jackrum depends : conflicts : indexmenu2, navi similar : definitions, definitionlist, deflist, dl, lists, mllist tags : list, definitions downloadurl: https://github.com/mprins/dokuwiki-plugin-yalist/archive/master.zip bugtracker : https://github.com/mprins/dokuwiki-plugin-yalist/issues sourcerepo : https://github.com/mprins/dokuwiki-plugin-yalist donationurl: https://github.com/sponsors/mprins screenshot_img : ---- ===== 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 [[:wiki: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 preempting DokuWiki's list handler, replacing it with a new handler and renderer that render the standard list syntax exactly as DokuWiki would. ===== Install ===== Search and install ​the plugin using the [[plugin:extension|Extension ​Manager]]. ===== Syntax ===== - ordered list item [
  1. ] * unordered list item [