• netvor@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 个月前

      I usually just click the UI button which gives (a bit confusing) template like this:

      ::: spoiler spoiler
      ___
      :::
      

      then I replace second spoiler with the always-visible text and the ___ with the hidden content, ending up with Markdown like this:

      ::: spoiler star wars secret
      this is an example so i won't actually include the spoiler
      :::
      

      (ie. the ::: spoiler part is fixed, then the title which will appear prior to revelation, then the “secret”, then :::)

      …which renders like this:


      just a normal text

      star wars secret

      this is an example so i won’t actually include the spoiler


      • weker01@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        10 个月前

        Yea spoilers are broken on lemmy. There is no real standard on how to interpret the markdown. That’s why there are multiple flavors of spoilers that each work on a different set of apps / endpoints.

        Edit: For example on eternity there was no spoiler in your post

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 个月前

      What’s the answer? Pastebin is just an empty page and none of the spoilers below are working. I guess Josef.