31

I've seen >! in the formatting. Which shows something only on hover. What is it? Why is it not documented.

Is there any other such unknown formattings that exist in SO editor?

3

2 Answers 2

34

Some sites require this spoiler functionality — especially our sites that discuss plots and story lines (think Gaming, Movies & TV, Anime & Manga, Science Fiction & Fantasy and such sites).

It is a custom markdown extension and it is documented on the advanced editing help:

To hide a certain piece of text and have it only be visible when a user moves the mouse over it, use the blockquote syntax with an additional exclamation point

2
  • 5
    CodeGolf is also a huge place for this. Commented Apr 18, 2014 at 16:36
  • It's worth noting that one can also get to the advanced editing help page by clicking on the "?" above the edit box, then "advanced help »". Commented Apr 21, 2014 at 1:46
23

It Markdown markup for a spoiler:

You cannot see this until you mouse-over!

Move your mouse over the 'blank' block text to see what happens.

Not all sites really need this, but it is supported everywhere. Only sites that make regular use of it (such as SciFi and Movies) actually include the tag in their documentation.

Spoilers

To hide a certain piece of text and have it only be visible when a user moves the mouse over it, use the blockquote syntax with an additional exclamation point:

At the end of episode five, it turns out that

>! he's actually his father.
6
  • 17
    "he's actually his father." Spoiler alert, please! Commented Apr 18, 2014 at 15:24
  • 6
    @Beska But it is from Lords of the Rings
    – hjpotter92
    Commented Apr 18, 2014 at 17:14
  • 4
    @hjpotter92: LotR episode 5 isn't out yet. Did you get a leaked copy? Commented Apr 18, 2014 at 17:54
  • 3
    And Rosebud is his mother. :-) Commented Apr 18, 2014 at 20:21
  • Actually, spoiler formatting is documented in Super User’s Help Center. Commented Apr 18, 2014 at 20:21
  • 1
    So? That just means the Super User mods feel it is a helpful syntax for their site. Commented Apr 18, 2014 at 20:56

You must log in to answer this question.

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