I think even on SOFU this might be useful, for example to hide responses from commands. But then maybe "spoiler" needs a more generic name, like "more"?
Like to avoid my abuse of bold and <sub>
here:
telnet gmail-smtp-in.l.google.com 25
Trying 74.125.79.27...
Connected to gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP p57si7771934eeh.86
helo example.com
250 mx.google.com at your service
mail from: <[email protected]>
250 2.1.0 OK p57si7771934eeh.86
rcpt to: <your-real-gmail-address@gmail>
250 2.1.5 OK p57si7771934eeh.86
...which could be shown more compact using the idea from Nick's comment:
It would be nice if the format could fall back on standard markdown if someone does not have this feature: e.g.,
> this is blockquote
and
>! this is spoiler
.
Parsers which don't understand spoilers will just show it as a blockquote with leading !
.
This might then show some additional link:
[This post has some hidden information. Click here to show.]
telnet gmail-smtp-in.l.google.com 25
helo example.com
mail from: <[email protected]>
rcpt to: <your-real-gmail-address@gmail>
...when typed as:
telnet gmail-smtp-in.l.google.com 25
! Trying 74.125.79.27...
! Connected to gmail-smtp-in.l.google.com.
! Escape character is '^]'.
! 220 mx.google.com ESMTP p57si7771934eeh.86
The above would expand all hidden text (for a specific post) using just one link, but it allows for easy copy/paste when things are not expanded/unhidden.
(One problem: 4 spaces for a code block followed by an exclamation mark for the spoiler, might interfere with true code blocks?)