[SOLVED] How do you do spoilers on Lemmy? - eviltoast

||test||

!test!<

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

::: spoiler BUTTON TEXT
HIDDEN TEXT
:::

Becomes

BUTTON TEXT

HIDDEN TEXT

  • Aninjanameddaryll@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

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

    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

  • Antik@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I think you want to start the spoiler with:

    `::: spoiler spoiler

    SPOILED TEXT

    And then end it with

    `:::

    So that would equal:

    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).