| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Spoiler Macro = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | 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 [http://forums.digitalpoint.com/showthread.php?t=768374#post7109062> this approach] with some cleanups to make it work better as a macro. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for SpoilerMacro are |
| 12 | [report:9?COMPONENT=SpoilerMacro here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=SpoilerMacro&owner=netjunki new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:spoilermacro here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out SpoilerMacro from [http://trac-hacks.org/svn/spoilermacro here] using Subversion, or [source:spoilermacro browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | {{{ |
| 28 | [[Spoiler(This is a spoiler. Don't show me until you hit the button)]] |
| 29 | }}} |
| 30 | |
| 31 | == Recent Changes == |
| 32 | |
| 33 | [[ChangeLog(spoilermacro, 3)]] |
| 34 | |
| 35 | == Author/Contributors == |
| 36 | |
| 37 | '''Author:''' [wiki:netjunki] [[BR]] |
| 38 | '''Maintainer:''' [wiki:netjunki] [[BR]] |
| 39 | '''Contributors:''' |