Introduce a new bultin macro that lets insert a block of text, which is hidden by default and can be displayed by clicking a link.
{{collapse [A block of text here] }}
Or with specific text for the Show/Hide link:
{{collapse(Show example,Hide example) [A block of text here] }}