Embed foldable structures in wiki pages


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:


WikiFormatted text inside foldable structure.


For structures without a title:


WikiFormatted text inside foldable structure.


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.


7 / 8


1 / 1


Download the zipped source from here.


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


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


Author: codingking
Maintainer: Dirk Stöcker

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

Attachments (1)

Download all attachments as: .zip