Is it possible to show and hide blocks of content in the trac wiki similar to the cloak macro of confluential?
It's a few month old but I was wondering the same thing. Remy Blank answer put me on the right track, he was just missing an extra div.
{{{#!div
{{{#!html
<h3 class="foldable">Section title</h3>
}}}
{{{#!div
This is the section content.
}}}
}}}
If you look at the style sheet, it shows you which element gets hidden with the collapsed style.
.collapsed > div, .collapsed > table, .collapsed > ul, .collapsed > dl { display: none }
Remy's code was wrapping "This is the section content" inside a p markup, that's why it wasn't hidden.