As a communication app with text capabilities, Discord includes a number of markdown features to style text.

The most recently added markdown feature is the spoiler tag.

The spoiler markdown allows you to hide text or an image behind an overlay.

Article image

To hide a spoiler, it’s crucial that you use the spoiler markdown syntax.

In Discord, this is the pipe or vertical slash character |, more specifically two of them ||.

To mark text as a spoiler you oughta place two pipe characters on either side of the spoiler.

Article image

This works for both the entire message or just part of it.

Everything between the two pairs of pipe characters will be hidden by the spoiler overlay.

It does seem to work reliably if you highlight text with the mouse instead.

Article image

Highlight text then poke the eye symbol in the popup bar to mark it as a spoiler.

If the caption includes a spoiler you still need to separately use the markdown for that as well.

Article image

Article image