Version 2 (modified by Benjamin Lau, 5 years ago) (diff)


Spoiler Macro


Add a "Spoiler!" button around text content of the macro so that it's hidden from view until you hit the button. This implements a concept that was mentioned on the trac-user mailing list and basically duplicates this approach with some cleanups to make it work better as a macro.

Bugs/Feature Requests

Existing bugs and feature requests for SpoilerMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:spoilermacro here].

Or you can install using easy_install:



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


[[Spoiler(This is a spoiler. Don't show me until you hit the button)]]

Recent Changes

13967 by rjollos on 2014-06-12 21:38:35
Added Fixes #11822.

Thanks to g1itch for reporting.

13692 by rjollos on 2014-02-20 03:33:45
Replaced deprecated add_javascript with add_script. Fixes #11588.
11335 by netjunki on 2012-02-27 07:23:43
trying to fix conflict with other JS in other plug-ins


Author: netjunki
Maintainer: netjunki