[[PageOutline(2-5,Contents,pullout)]] = Spoiler Macro = == Description == 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://css-tricks.com/examples/SpoilerRevealer/ this approach] with some cleanups to make it work better as a macro. You can show or hide a particular spoiler by clicking on it. A button to show and hide all the spoilers is also injected into the page. == Bugs/Feature Requests == Existing bugs and feature requests for SpoilerMacro are [report:9?COMPONENT=SpoilerMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=SpoilerMacro&owner=netjunki new ticket]. == Download == Download the zipped source from [download:spoilermacro here]. Or you can install using easy_install: {{{ easy_install http://trac-hacks.org/svn/spoilermacro/0.12 }}} == Source == You can check out SpoilerMacro from [http://trac-hacks.org/svn/spoilermacro here] using Subversion, or [source:spoilermacro browse the source] with Trac. == Example == {{{ This is a [[Spoiler([wiki:WikiStart spoiler!])]]. {{{ #!Spoiler This is a much bigger bit of spoiler info with [wiki:StartPage wiki markup] And it's a lot more complicated ||it||even||has|| ||a||table||inside|| }}} }}} You can see a [http://www.youtube.com/watch?v=TyuelS_e0Js video of this] in action as well. == Recent Changes == [[ChangeLog(spoilermacro, 3)]] == Author/Contributors == '''Author:''' [wiki:netjunki] [[BR]] '''Maintainer:''' [wiki:netjunki] [[BR]] '''Contributors:'''