[[PageOutline(2-5,Contents,pullout)]] = Add a "Spoiler!" button around textual content == Description This macro adds a "Spoiler!" button around designated textual content on the wiki page so that it is hidden from view until you hit the button. It replicates [http://css-tricks.com/examples/SpoilerRevealer/ this approach] with some cleanups to make it work better as a Trac 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. {{{ 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. See also: [[ListTagged(fold)]] == Bugs/Feature Requests Existing bugs and feature requests for SpoilerMacro are [report:9?COMPONENT=SpoilerMacro here]. If you have any issues, create a [/newticket?component=SpoilerMacro new ticket]. [[TicketQuery(component=SpoilerMacro&group=type,format=progress)]] == Download Download the zipped source from [export:spoilermacro here]. == Source You can check out SpoilerMacro from [/svn/spoilermacro here] using Subversion, or [source:spoilermacro browse the source] with Trac. == Installation Install this plugin as follows: {{{ pip install svn+https://trac-hacks.org/svn/spoilermacro/0.12 }}} == Recent Changes [[ChangeLog(spoilermacro, 3)]] == Author/Contributors '''Author:''' [wiki:netjunki] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''