this post was submitted on 06 Aug 2023
5 points (100.0% liked)

Markdown Police

1 readers
2 users here now

We're the markdown police! ^Quite an unfortunate name but^ ask questions here if you don't know how a certain markdown feature works, or you find out about a cool one!

founded 1 year ago
MODERATORS
5
Spoiler syntax (lemmy.xylight.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Spoilers aren't part of commonmark, so the syntax varies wildly between platforms.

  • Reddit: >!content!<
  • Discord: ||content||

On Lemmy, the syntax is this:

content

and clients should render it as a details element. You can even have titles for it, as shown!

example spoiler titlespoiler 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 are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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 :::