Version 10 (modified by figaro, 6 years ago) (diff)

Further cosmetic changes, tagged with license

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, as described here.

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