Hide and unhide sections of corpus text in wiki pages


This is a macro that allows you to mark sections as hidden and which can be shown again by clicking on the toggle button. It is inspired by Wikipedia's ToggleToc.

On your Trac wiki page, the syntax would be as follows:

Some text

Javascript is used to implement the hiding and unhiding of the marked sections.

Bugs/Feature Requests

Existing bugs and feature requests for ToggleMacroPlugin are here.

If you have any issues, create a new ticket.


0 / 1


Download the zipped source from here.


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

7449 by rockerzz on 2010-01-23 18:59:20
init toggle macro
7448 by rockerzz on 2010-01-23 18:47:56
New hack ToggleMacroPlugin, created by rockerzz


Author: rockerzz
Maintainer: Alexey

Last modified 2 years ago Last modified on May 22, 2022, 6:37:23 AM