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

7 / 8

enhancement

1 / 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

18570 by stoecker on 2023-10-25 11:47:22
use onelinerformater to prevent paragraph, add collapsibleplugin class to allow easier customization
18569 by stoecker on 2023-10-25 08:08:44
drop comment
18568 by stoecker on 2023-10-25 08:02:11
ready for Trac 1.6, fix #12187, fix #14155, fix #14162, fix #13957
(more)

Author/Contributors/License

Author: codingking
Maintainer: Dirk Stöcker
Contributors:

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

Attachments (1)

Download all attachments as: .zip