[SOLVED] How do you do spoilers on Lemmy?

||test||

!test!<

Edit: Thanks to @Antik@lemmy.ml for figuring it out!

::: spoiler BUTTON TEXT
HIDDEN TEXT
:::

Becomes ::: spoiler BUTTON TEXT HIDDEN TEXT :::

47 points · 50 comments · view on lemmy.world

50 Comments

TheVampireSaga@lemmy.world · 22 pts · 3y (2 replies)

They work I think but they don't work on mobile at all

ewe@lemmy.world · 7 pts · 3y

Yet!

At least the structure is there and baked in so it's only a matter of time 😀

idunnololz@lemmy.world · 2 pts · 3y

I'll add this to Summit for the next release. I don't know why they didn't just use the standard markdown >!

Antik@lemmy.ml · 8 pts · 3y (6 replies)

I think you want to start the spoiler with:

`::: spoiler spoiler

SPOILED TEXT

And then end it with

`:::

So that would equal:

::: spoiler spoiler Balls :::

Do that without the tilde.

Edit: I also just noticed that, at least on desktop, a "spoiler" button is there when you make a comment (it's the triangle exclamation mark icon).

adespoton@lemmy.ca · 3 pts · 3y (3 replies)

Testing

::: spoiler spoiler

This is the spoiler text

:::

123

adespoton@lemmy.ca · 4 pts · 3y

Doesn’t do anything on memmy :/

Antik@lemmy.ml · 4 pts · 3y

Success!

Though I still haven't figured out how to get a line break after the spoiler on regular text.

devAlot@lemmy.world · 1 pts · 1y

::: spoiler Test 1 No line breaks :::

::: spoiler Test 2 With one line break :::

::: spoiler Test 3 With two

line breaks :::

Nice.

TheButtonJustSpins@infosec.pub · 3 pts · 3y

Amazing; thank you!!

TheButtonJustSpins@infosec.pub · 2 pts · 3y

::: spoiler hidden This is a test :::

Aninjanameddaryll@sopuli.xyz · 7 pts · 3y

::: spoiler test testing

Aha! That got it. Three colons. Spoiler, then the text for the spoiler listing, an enter, n closing `::: and then it works. It doesn't work without the enter before the spolied text, which is just confusing and annoying imo. The >! Markdown is so much better.

But! You can enter anything after the initial ::: spoiler as the text to show before clicking

::: spoiler extra testing :::

It's working on mobile browser for me, but not on jerboa. Jerboa doesn't seem to recognize several markdown notations.

that's a screenshot with the spoiler entry from the little triangle with an ! In it from the entry box

Edit: and the jerboa update didn't bring full markdown support lol

Aninjanameddaryll@sopuli.xyz · 3 pts · 3y (1 reply)

I'm trying to get what the other guy said to work, please bear with my idiocy

If that is it, then ::: spoiler spoiler WTF :::

Tavarin@lemmy.world · 2 pts · 3y

::: spoiler spoiler

WTF

:::

You need to place it across multiple lines, like coding. If it's all one line it just interprets it as text.

108beads@lemm.ee · 3 pts · 3y

Test: || spoiler ||

Edit: dang, didn't work.

Test: ::: spoiled? :::

Nope.

indy@lemmy.world · 2 pts · 3y

::: spoiler TESTING Spoiler test test test :::

Aninjanameddaryll@sopuli.xyz · 1 pts · 3y
[ removed ]
Awkward_Penguin@lemmy.world · 1 pts · 3y
[ removed ]
slyme@lemmy.world · 1 pts · 3y

OHHH, that makes a lot of sense! I thought those underscores were there as a seperator between the content. Thank you! /gen

JamesMattDillion@lemmy.world · 1 pts · 3y
[ removed ]