Is there a way to add spoiler tags?

I think I got spoilers to work, let me know.
I did the following:

::: SPOILER SPOILER TEXT
HIDDEN MESSAGE
:::

  • Emotional_Series7814@kbin.melroy.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I had really similar thinking to you, I just wasted a step.

    spoiler

    Log Cabin ➡️ Solidarity ⏰ 01:24 🦶7 (Log_cabin ➡️ Eastern_Europe ➡️ Poland ➡️ History_of_Solidarity ➡️ Solidarity_(Polish_trade_union) ➡️ History_of_Solidarity ➡️ Solidarity_(disambiguation) ➡️ Solidarity) 🔗 https://www.thewikipediagame.com

      • Zagorath@aussie.zone
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Is your instance Lemmy or some other fedicerse platform? And if it’s Lemmy, what client are you using? Because their syntax displays correctly for me on Jerboa and lemmy-ui, and I’m fairly sure it’ll work on any well-behaved Lemmy client.

        • aukspot@piefed.socialOP
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          I’m not sure, I’m just using my browser (Firefox) at piefed.social, the other spoiler tags in these comments are working for me though

          • Zagorath@aussie.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            Oh whoops, I just realised your previous comment was a reply to @Emotional_Series7814@kbin.cafe and not @skillissuer@discuss.tchncs.de.

            Ok so it looks like Piefed is the name of the platform you’re on, a different threadiverse platform from Lemmy or Kbin. Unfortunately some of the more advanced syntax like spoilers are the first things to become incompatible when you cross over between different platforms.

            This should work on Lemmy:

            Test

            Test spoiler text

            This should work on Kbin, I believe:

            ::: spoiler Test spoiler text :::

            !This is the syntax that worked on Reddit.!< (and tbh I quite like that syntax because it enables inline spoilers, instead of only paragraphs)

            From what I can tell, Piefed has similar behaviour to Lemmy. Unfortunately emotional_series is on Kbin which means their spoiler syntax is breaking for you, and for me. Their above comment is particularly bad for me because they didn’t even include a paragraph break before starting the ::: spoiler. And it breaks even worse for you because Piefed seems to default to treating the text that Kbin intends to be hidden as the revealed part of the spoiler if they do have the paragraph break. And it also ignored code blocks in order to spoil code.

            This is what you should be seeing in the lower comment:

            instead of this:

            and what emotional_series sees is this:

            • Emotional_Series7814@kbin.melroy.org
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              4 months ago

              The fact these platforms all play differently is so annoying. First with linking other magazines/communities, now spoilers apparently. Something that looks nice and works on one platform is unreadable/spoils/nonfunctional on another. For what it is worth, all attempted spoilers in your comment that I am replying to now work for me on Kbin. Except the Reddit-style spoilers, which I believe work nowhere on the Fediverse.

              • MBM@lemmings.world
                link
                fedilink
                arrow-up
                2
                ·
                4 months ago

                As a bonus, a bunch of apps have their own way of doing spoilers. It’s a bit of a mess.

              • Zagorath@aussie.zone
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 months ago

                The reason I included the Reddit one is because I think some Lemmy mobile clients that used to be Reddit clients might still support them. Because really rendering is a matter for the client more than the platform.

            • aukspot@piefed.socialOP
              link
              fedilink
              arrow-up
              2
              ·
              4 months ago

              This is incredibly helpful, thank you for taking the time to help! I honestly thought Piefed was Lemmy, I’m still new to the fediverse. I think I should try using an app

              • Zagorath@aussie.zone
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 months ago

                Yeah the great thing about the fediverse is how interoperative it is. There are differing degrees of compatibility, but to some extent we can talk to each other even between Mastodon (ostensibly a Twitter-like platform) and Lemmy (Reddit-like). You could never imagine Tweeting to reply to a Reddit post.