# How to create spoilers in Discourse?

**URL:** https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662
**Category:** Support
**Created:** [May 17, 2021, 1:01pm UTC](https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662 "2021-05-17T13:01:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mreach](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mreach](https://meta.discourse.org/u/mreach)
#### Post date: [May 17, 2021, 1:01pm UTC](https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662/1 "2021-05-17T13:01:10Z")

</div>

Is it possible to create collapsable spoilers in Discourse by default or is a plugin required?

---

<div class="post-metadata">

### Author: ![lucasbasquerotto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucasbasquerotto/32/133376_2.png) [@lucasbasquerotto](https://meta.discourse.org/u/lucasbasquerotto)
#### Post date: [May 17, 2021, 1:24pm UTC](https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662/2 "2021-05-17T13:24:19Z")

</div>

Do you mean… like this?

If you want the above, you can use:

`[spoiler]the spoiler comes here[/spoiler]`

If you want specifficaly collapsable spoilers (instead of blur spoilers), you could do this:

> **some spoiler**
>
> spoiler content here

```plaintext
[details="some spoiler"]
spoiler content here
[/details]

```

You can achieve those options either by writting them just as I demonstrated above, or by clicking in the gear icon at the right of the other editor options above the text area in which you write stuff.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 17, 2021, 1:29pm UTC](https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662/3 "2021-05-17T13:29:30Z")

</div>

There is a search function. This is the first entry for spoiler. [Discourse Spoiler Alert](https://meta.discourse.org/t/discourse-spoiler-alert/12650)

---

<div class="post-metadata">

### Author: ![mreach](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mreach](https://meta.discourse.org/u/mreach)
#### Post date: [May 17, 2021, 3:05pm UTC](https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662/4 "2021-05-17T15:05:44Z")

</div>

Hmm, yeah… thanks @lucasbasquerotto and @pfaffman - I did do a search first and did find that, however it is not working in our instance of Discourse… I’ll try going back to the proverbial troubleshooting drawing board here and try to figure out WHY it’s not working by default… 😩

EDIT: I really don’t know what happened or why this happened, but I restarted the app instance and tried it on a fresh new post and it worked this time. Confusing, but it seems to work now.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 16, 2021, 3:06pm UTC](https://meta.discourse.org/t/how-to-create-spoilers-in-discourse/190662/5 "2021-06-16T15:06:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
