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
You must log in or register to comment.
::: spoiler content :::