DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:foldablelist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:foldablelist [2020-06-30 23:14]
med-men
plugin:foldablelist [2020-06-30 23:24] (current)
med-men explain new inline config feature with example
Line 36: Line 36:
  
   * ''collapse_after'': number of items to show always   * ''collapse_after'': number of items to show always
 +
 +Configuration can be overwritten for each instance. The following would collapse each list (including nested lists) after 3 items:
 +
 +<code>
 +<foldablelist collapse_after=3>
 +  * item 1
 +  * item 2
 +  * item 3
 +      * item 3.1
 +      * item 3.2
 +      * item 3.3
 +      * item 3.4
 +      * item 3.5
 +  * item 4
 +  * item 5
 +</foldablelist>
 +</code>
  
 === Change Log === === Change Log ===
plugin/foldablelist.txt ยท Last modified: 2020-06-30 23:24 by med-men