Thanks for your reply. > Spoilers? Are you talking about having something like spoiler font... > like on tvtropes or sites like that? (actually followed the link... so > yes this is what you want)
Yes, we are talking about the same thing. :) > I did a naive version of this myself using the span macro. Here are > some examples of usage... of course this assumes that the background > is white... you'd have to adjust if you use a custom theme (just chuck > this in the Sandbox on your trac installation to play with it): > > === '''Span Macro for Coloring ''(Or Other Things)''''' === > * [[span(style=color:red, red)]] > * [[span(style=color:green, green)]] > * [[span(style=color:yellow, yellow)]] > * [[span(style=color:#8A2BE2, blueviolet)]] > * [[span(style=color:#FFFFFF, spoiler)]] > > But seeing your post got me thinking about a fancier implementation... > > So here you go: > http://trac-hacks.org/wiki/SpoilerMacro Looks very well! Can I see a live demo somewhere? (I do not have my own trac installed, I am just a contributor in a trac wiki and the webmaster might install it for me (if I provide a plugin link and demonstration). <snip> > Feedback welcome/appreciated. If you have suggestions for changes > submit tickets for them over at trac-hacks.org. Maybe I am going to suggest a button/function "Open/Close all spoilers at once" per wiki page. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
