Spoilers aren’t part of commonmark, so the syntax varies wildly between platforms.
- Reddit:
>!content!<
- Discord:
||content||
On Lemmy, the syntax is this:
::: spoiler
content
:::
and clients should render it as a details
element. You can even have titles for it, as shown!
example spoiler title
spoiler example
For some reason, a lot of third party apps still haven’t implemented this. As of my knowledge, clients that support this are
- The default UI, lemmy-ui
- Photon
::: spoiler content :::
congrats
Did it work? It looks Just like your example to me and not actually a spoiler tag.
It is supposed to look like a drop-down.
Currently a lot of apps don’t support it for some reason. The clients that support it are:
- The default lemmy-ui
- Photon
I am using memmy, and your example is visible in the op.
ETA looking at Lemmy.world on safari it still appears broken to me.
::: spoiler https://i.imgur.com/wxaojql.jpg :::