There is markdown for spoilers: put >!
at the beginning of a paragraph, and the paragraph will be visible only when the mouse hovers over it, or when it is selected.
like this
!> like this
Is there interest in changing one of the markdown buttons above the editing zone? It is technically feasible, but not necessarily a good idea from a user interface point of view as it introduces an inconsistency between SF&F and other Stack Exchange sites.
- Please upvote this question if you'd like the code button to be turned into a spoiler button.
- Please downvote this question if you'd like the code button to remain as it is.
- Please leave a comment or answer if you have a different preference. An extra button is not currently an option.
Update: There are currently 17 votes for and 3 against, which I take to mean there is interest.
So: Dear Stack Exchange team, please change the code markup button into a spoiler markup button.