plugin:foldablelist
Table of Contents
foldablelist Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
- Wrap list with
<foldablelist>
and</foldablelist>
- You can use any markup inside
- Lists generated by other plugins (like the tag plugin or discussion plugin) will also work
Configuration and Settings
Can be done via config manager (log in as admin of course)
collapse_after
: number of items to show alwaysbutton_css
: change appearance and position of the button via CSSbutton_up_value
: change content of button to collapsebutton_down_value
: change content of button to unfold
Configuration for collapsing can be overwritten for each instance. The following would collapse each list (including nested lists) after 3 items:
<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>
Change Log
- Merge pull request #7 from medmen/renovate/configure (2023-12-04 20:27)
- Add renovate.json (2023-12-01 12:33)
- update language and metadata (2022-06-06 17:23)
- button can now be styled using css in a config option, fixing issue #5 (2022-06-06 17:13)
- button can now be styled using css in a config option, fixing issue #5 (2022-06-06 16:59)
- make button styleable (2022-05-21 09:33)
- fixing structural JS bug. (2020-06-30 23:12)
- Merge pull request #4 from medmen/medmen-inline-config (2020-06-29 21:54)
Known Bugs and Issues
Please report bugs and issues at: https://github.com/medmen/dokuwiki-plugin-foldablelist/issues
plugin/foldablelist.txt · Last modified: 2022-06-06 17:28 by med-men