I sometimes find I want to put a whole codeblock into spoiler text. This is useful in answering
homework tagged questions, where I intend to say something along the lines of Now try and implement this part yourself, and mouseover the section below for some ideas if you get stuck. Forgive me if this has been covored before, I searched but didn't find the same question and I couldn't see it in the markup advanced help section either.
This is normal text
This is spoiler text
This is one line of visible code
This is one line of invisible code
def visible_function(): print 'hello world'
But can I get a multi-line code block that is invisible? I couldn't figure out the markup syntax for it.
def invisible_function(): print 'Eeek! I feel so naked!'