102
submitted 1 month ago by floofloof@lemmy.ca to c/science@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] netvor@lemmy.world 2 points 1 month ago

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 1 month ago* (last edited 1 month 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

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

science

14352 readers
415 users here now

just science related topics. please contribute

note: clickbait sources/headlines aren't liked generally. I've posted crap sources and later deleted or edit to improve after complaints. whoops, sry

Rule 1) Be kind.

lemmy.world rules: https://mastodon.world/about

I don't screen everything, lrn2scroll

founded 1 year ago
MODERATORS