What is the reason why you can do this?

When hovering you can see the text.

This is the markdown code I used:

>! When hovering you can see the text.

1 Answer 1


It's called a 'spoiler markdown'. It is used to hide portions of the text which are only revealed if you hover over it.

It is useful in Stack Exchange if you want to ask about a movie (for example) but do not want to spoil key elements of the plot for anyone who may to have seen it.

Spoiler markdowns are also used for things like riddles or quizzes. These types of question aren't really a common thing in Stack Exchange, but with markdown text, you would be able to ask a question and folks would be able to hover over the hidden text to reveal the answer.

  • On Stack Overflow I've seen that also used for homework solutions. Dec 21, 2015 at 17:39

Not the answer you're looking for? Browse other questions tagged .