wiki:CollapsiblePlugin

Embed foldable structures in wiki pages

Description

This plugin allows you to embed foldable structures in wiki pages, in the style of the Trac ticket attachments foldable structure. The plugin utilizes two macros: one to denote the start of a foldable structure, and one to denote the end of the structure. Foldable text supports WikiFormatting and nested folds, so long as spacing is accomplished by the former.

For structures with a title:

[[CollapsibleStart(Title-of-Structure)]]

WikiFormatted text inside foldable structure.

[[CollapsibleEnd]]

For structures without a title:

[[CollapsibleStart]]

WikiFormatted text inside foldable structure.

[[CollapsibleEnd]]

Note: There exists a 0.11 branch of this plugin, but it does not work with Trac 0.11. See #8942 for more details.

See also: FoldMacroProcessorMacro

Bugs/Feature Requests

Existing bugs and feature requests for CollapsiblePlugin are here.

If you have any issues, create a new ticket.

defect

3 / 6

enhancement

0 / 1

Download

Download the zipped source from here.

Source

You can check out CollapsiblePlugin 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

17974 by rjollos on 2021-01-27 04:19:10
Make it initially collapsed

Fixes #12001.

13997 by rjollos on 2014-06-25 11:53:28
Fixed incorrect indentation (follow-on to [13774]) and removed unused imports. Fixes #11840.
13774 by rjollos on 2014-03-18 03:35:25
Converted tabs to spaces.
(more)

Author/Contributors/License

Author: codingking
Maintainer: codingking
Contributors:

Last modified 11 months ago Last modified on May 13, 2020, 11:14:37 PM

Attachments (1)

Download all attachments as: .zip