wiki:FoldMacroProcessorMacro

Add foldable sections

Description

This macro is a simple way to add foldable sections in Trac wiki pages and tickets that the user can click to expand or collapse.

{{{#!Fold title="A title for the folded section" tag=h2
This section of the wiki page is folded up and can be expanded by clicking on the title.

This can contain any ''formatted'' **wiki** content, including macros and nested Fold sections.
}}}

The following parameters can be set:

  • title: The text in the folding header.
  • tag: The HTML element used for the title (Default: span)

See also: CollapsiblePlugin

Bugs/Feature Requests

Existing bugs and feature requests for FoldMacroProcessorMacro are here.

If you have any issues, create a new ticket.

enhancement

4 / 4

Download

Download the zipped source from here.

Source

You can check out FoldMacroProcessorMacro from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

14425 by psuter on 2015-02-14 16:30:47
FoldMacroProcessorMacro: Format title to oneliner. (fix #12190)
13999 by psuter on 2014-07-06 10:53:42
FoldMacroProcessorMacro: Add macro parameter tag to switch the title's HTML tag type.
Thanks to Tobias Hommel.
(fix #11846)
13781 by psuter on 2014-03-19 19:38:06
FoldMacroProcessorMacro: Added license file (fix #9815)
(more)

Author/Contributors

Author: psuter
Maintainer: psuter
Contributors:

Last modified 3 months ago Last modified on Sep 21, 2016, 9:41:04 PM