||test||

!test!<

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

::: spoiler BUTTON TEXT
HIDDEN TEXT
:::

Becomes

BUTTON TEXT

HIDDEN TEXT

    • ewe@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Yet!

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

  • Aninjanameddaryll@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 years 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

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

        Success!

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

      • devAlot@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        25 days ago
        Test 1

        No line breaks

        Test 2

        With one line break

        Test 3

        With two

        line breaks

        Nice.