this post was submitted on 31 Jul 2024
102 points (87.0% liked)

science

14743 readers
527 users here now

A community to post scientific articles, news, and civil discussion.

rule #1: be kind

<--- rules currently under construction, see current pinned post.

2024-11-11

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] netvor@lemmy.world 2 points 3 months ago (1 children)

I usually just click the UI button which gives (a bit confusing) template like this:

spoiler___

then I replace second spoiler with the always-visible text and the ___ with the hidden content, ending up with Markdown like this:

star wars secretthis is an example so i won't actually include the spoiler

(ie. the ::: spoiler part is fixed, then the title which will appear prior to revelation, then the "secret", then :::)

...which renders like this:


just a normal text

star wars secretthis is an example so i won't actually include the spoiler


[โ€“] weker01@sh.itjust.works 2 points 3 months ago* (last edited 3 months ago)

Yea spoilers are broken on lemmy. There is no real standard on how to interpret the markdown. That's why there are multiple flavors of spoilers that each work on a different set of apps / endpoints.

Edit: For example on eternity there was no spoiler in your post