Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

While trying to assist with the formatting of a question which spoilers a list, I discovered there's not a lot of parity between how spoilers and quote blocks (which are superficially quite similar) handle nested Markdown formatting. (Simple HTML works fine.)

For example, here's a variety of typical Markdown nested inside a quote block:



code block
  • nested
    1. list

even nested quotes!

  • with nested nested formatting!

Aside from the code and quote blocks not standing out due to matching background colors, everything works exactly as expected. Sadly, the same is very much not true for spoilers:

### heading --- paragraph code block - nested 1. list > even nested quotes! > > - with nested nested formatting!

Eek! Any chance of changing spoilers to act more like quotes? Needing complex formatting in spoilers isn't a terribly common scenario, but when you do, the inconsistency is jarring and a bit frustrating.

share|improve this question

migrated from Dec 20 '11 at 17:13

This question came from our discussion, support, and feature requests site for passionate videogamers on all platforms.

Generalizes Paragraphs breaks are ignored inside spoilers – Gilles Jul 31 '12 at 20:32

HTML, baby.



code block
  • nested
  1. list

even nested quotes!

  1. with nested nested formatting!

Yes, okay, not everything hides (looking at you, <hr> and <code>)... but that's a different bug report, now, isn't it?

(On Meta Gaming, where this post came from, the above made two nested spoiler blocks where the inner area is only visible on hover of the inner block. The same thing happens in the mobile version of MSO, but not here.)

share|improve this answer
So because the less common forms of styling work poorly, we shouldn't be concerned that the more common forms don't work at all? Not a very satisfying solution. :-) – Ben Blank Dec 20 '11 at 16:14
@Ben I'm proposing HTML as an uncommon solution to an admittedly uncommon problem. Personally, everything that gets in the way of abuse of spoiler tags is a positive thing in my book. Notice that Markdown's syntax for non-paragraph-level formatting (italic bold code etc.) still works. – badp Dec 20 '11 at 17:10
I'm just seeing the <hr>. The <code> section is hiding just fine here (FF 5 [good gravy, I need to update] Win7). – Pops Dec 20 '11 at 20:26
@PopularDemand Hence the paragraph I've added in parentheses. As I said, that's a different bug report that does belong to meta gaming. – badp Dec 20 '11 at 21:11
Hm, okay. Perhaps it'll make more sense to me after I get home (work started blocking Gaming SE). – Pops Dec 20 '11 at 21:18
+1 for the work-around, but I think the feature request should still be implemented. – Dukeling Apr 20 '14 at 22:02
Caveat: this spoiler tag is unreadable on the chat.SE android app. – badp Apr 21 '14 at 11:21

You must log in to answer this question.

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