wiki:ToggleMacroPlugin

Hide and unhide sections of corpus text in wiki pages

Description

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:

[[Toggle(begin)]]
Some text
[[Toggle(end)]]

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.

defect

0 / 1

Download

Download the zipped source from here.

Source

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

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
(more)

Author/Contributors

Author: rockerzz
Maintainer: Alexey
Contributors:

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