Inline code inside spoiler markup is never hidden.

Text is hidden but code is not.

>! Text is hidden but `code` is not.

(Used in the wild here.)

  • Yeah, I see that it works elsewhere (SO).
    – tshepang
    Mar 6, 2012 at 18:15

1 Answer 1


This is mostly fixed now: code in spoiler is hidden. There's still a glitch: the code part has a different background from the rest of the text.

code in spoiler

  • This should be fixed in the production server build. Mar 18, 2015 at 1:32
  • I'm upvoting this to stop Community bumping this question. Code in spoiler markup seems to be hidden fine now.
    – muru
    Dec 13, 2015 at 17:09

You must log in to answer this question.

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