A user in https://scifi.stackexchange.com/a/14928/1913 discovered that he couldn't create a spoiler unordered list, and I can't seem to either.

I can blockquote an unordered list without any real issue:

  • 1
  • 2

Or the following (similar to the solution in Spoiler Markdown shows up as normal blockquote):

  • 1
  • 2

However, if I introduce a spoiler, it breaks:

!- 1 - 2


- 1 - 2

I've tried nesting blockquotes, which doesn't seem to help either. Is this a bug? If not, how in tarnation do I create a spoiler-wrapped unordered list using Markdown?

  • 3
    I suspect we're not supposed to be doing that. I usually restrict myself to plain text without markup in spoilers, to avoid any problems. The spoiler syntax was a pretty late addition, it's not part of the Markdown spec as far as I know. Apr 16, 2012 at 16:07
  • Should this be feature-request, then? Apr 16, 2012 at 16:08
  • Possibly...Since the >! thing is a custom extension, I suspect the Markdown parser gets tripped up by what it sees as a stray !...not sure off hand what could reasonably be done about that. I'd have to check the code to see if that's the issue to begin with, though.
    – Tim Stone
    Apr 16, 2012 at 16:14
  • 1
    For what it's worth, you can successfully use raw HTML a la <ul><li></li></ul>. It's a bit ugly though, as it introduces empty paragraph tags and is less pleasant to maintain.
    – Tim Stone
    Apr 16, 2012 at 16:35

1 Answer 1


May be you could do something like this.

  • Create the ordered/unordered list.
  • Then introduce the spoiler markdown on each line.
  • Then wrap the ordered list with pre tag.

Not the prettiest solution but at least a workaround.

- One
- Two
- Three

Spoiler with ordered or unordered list

You must log in to answer this question.

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