• wjs018@ani.social
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 day ago

      In-line spoilers are a feature in PieFed that Lemmy hasn’t adopted (relevant github issue). In PieFed, you can use either the >! spoiler !< syntax like reddit or the || spoiler || syntax like discord/telegram to create in-line spoilers. However, like you have seen here, lemmy won’t render it as a spoiler.

      Source: I coded it.

      • FiniteBanjo@feddit.online
        link
        fedilink
        English
        arrow-up
        1
        ·
        16 hours ago

        Now this puts me in a tough position because I actually like the style of the spoiler that works on both but actually fuck Lemmy and it’s red fascist maintainers.

        • wjs018@ani.social
          link
          fedilink
          arrow-up
          2
          ·
          16 hours ago

          Spoiler blocks will work for both lemmy and PieFed…the ones formatted like this:

          ::: spoiler Spoiler Title
          spoiler-y stuff here
          :::
          

          However, it makes the spoiler be on its own line, in its own collapsible section. That is often inconvenient if you just need to spoiler out a character’s name from a sentence or something like that. I don’t know rust nor have the inclination/time to learn, but I do know python. So, I added the functionality to PieFed and then chimed in on the lemmy github issue to try to influence lemmy to incorporate the feature as well. However, it seems like they are content to let the github issue sit open indefinitely instead.

          • FiniteBanjo@feddit.online
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            14 hours ago
            Spoiler Test

            This is merely a test, do not be alarmed

            Looks like the Piefed just applies unnecesary underscore characters when you click the spoiler format button, chock it up to user error.

            ::: spoiler spoiler  
            ___  
            :::