||test||

!test!<

Edit: Thanks to @[email protected] for figuring it out!

::: spoiler BUTTON TEXT
HIDDEN TEXT
:::

Becomes

BUTTON TEXT

HIDDEN TEXT

  • Antik@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    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).

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

        Success!

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