• yetAnotherUser
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    Doubt you can, just put it inside a spoiler tag:

    ::: spoiler Your Spoiler Headline
    [image]
    :::
    

    (Note: the spoiler text after the first ::: is mandatory)

      • yetAnotherUser
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        Not quite, you have to do the spoiler formatting as shown in my comment:

        ::: spoiler NSFW image
        [Put your image here]
        :::
        

        turns into:

        NSFW image

        [Put your image here]

      • brbposting@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        You can copy this entirely if you’d like, no changes needed:

        ::: spoiler NSFW image
        ![](https://lemmy.world/pictrs/image/dffe56ba-a720-49a6-8052-5939a1f4fde7.jpeg)
        :::
        
          • brbposting@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 months ago

            Ooh we’re so close! I wonder if it just wants you to hit enter after ”NSFW image”, and after the final parenthesis as well (after the “)”)

            NSFW image [your comment]

            Trying the code again with the extra spaces, maybe it was my bad (though I did test it):

            ::: spoiler NSFW image
            
            ![](https://lemmy.world/pictrs/image/dffe56ba-a720-49a6-8052-5939a1f4fde7.jpeg)
            
            :::