• rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours 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
      1
      ·
      12 minutes 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
        1
        ·
        3 minutes 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.