Skip to main content
4 of 8
Replaced JavaScript mockup with instructions for the "mobile" link.
Arjan
  • 28.2k
  • 18
  • 112
  • 176

I'd love to see the existing spoiler be enhanced for that. The syntax is:

>! Spoiler text

Lacking a proper hover on some devices, the new mobile sites render this as:

Click to show spoiler on mobile site

On the regular websites, one still needs to hover the hidden text to reveal it. And it shows many blank lines for long spoilers. Like:

Moon languages rock!

From http://en.wiktionary.org/wiki/moon_language
Noun
moon language (plural moon languages)

  1. (slang) Text written in an incomprehensible script, especially Japanese or Chinese.

(Multi-line spoilers need Markdown double-spaces to get a newline. Automatic lists, headings, et cetera are not supported.)

I'd like something similar to the mobile sites on the regular sites too, but:

  • Labeled "Click to show hidden text" (rather than "spoiler").
  • Maybe a single link to show all hidden text? (That might not be too nice for real spoilers.)

On the other hand: beware that the handling of Markdown within the spoilers is very limited. One cannot easily change an existing block into a spoiler.

(Click the "mobile" link at the bottom of this page to see the mobile rendering in a regular browser too.)

Arjan
  • 28.2k
  • 18
  • 112
  • 176