• rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 days ago

    You’ll have to put that spoiler in a new paragraph. Unfortunately spoiler tags are not a standard Markdown feature. There are no inline spoilers in the Lemmy UI (which is a stupid ass decision, what the fuck devs), and no spoilers whatsoever on Mastodon.

    This works:

    :::spoiler Spoiler Title
    spoiler content
    :::
    

    This does not:

    :::spoiler spoiler content :::
    
    • autriyo@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      On my third party client (Boost) none of your examples work but the ops does. Maybe a hold over from the Reddit days?

      • rtxn@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        My examples won’t work because they’re in code blocks. Code blocks are meant to render their content verbatim, without parsing Markdown tags. This span uses multiple formatting tags. ~~**_This is the same in an inline code span._**~~

        ~~**_This is the same in a code block._**~~
        

        Like I said, spoiler tags are not a standard feature. Whether they work depends entirely on the renderer used by the client.

        • autriyo@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Could’ve figured… Totally didn’t though :D Would be nice if spoilers were a standard feature, maybe we’ll get them in the future.

      • trashcan@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Could be. The orignal spoiler worked for me using Sync but this app never supported the Lemmy spoiler markup.