Enable collapsible outline tree page layout
Kompatibel mit DokuWiki
Ähnlich zu folded, hidden, hiddenswitch, hidetext, sectiontoggle
If you are upgrading this plugin please read the changelog
This plugin provides syntax for collapsible sections. It includes support for section titles link, nesting, a preview of the section when the mouse is over a closed section title, saving of the current state in localStorage and sections opened by default.
The beginning of a section has to be marked with --> Title[FLAGS]
, [FLAGS]
is optional and can be:
#
for no preview^
for opened by default@
for internal wiki link in title
Sections can be closed by using <--
on a new line. Sections can also be nested. Example:
--> Section 1 without preview# * List item one Some other syntax. --> Nested section opened^ Nested content <-- Main content continue <-- --> [[ plugin:outliner| Outliner]] @ <--
Formatting syntax, like lists, can be used within a block, but a blank line must be included before closing the block.
--> First Section# * A list item * Another list item <-- --> Second Section# Content <--
There is currently just one setting useLocalStorage
that controls if the current state of all sections shall be stored in LocalStorage for each section and is disabled per default.
Please report any issues in the Issue tracker.