Is there a way to add spoiler tags?

I think I got spoilers to work, let me know.
I did the following:

::: SPOILER SPOILER TEXT
HIDDEN MESSAGE
:::

  • aukspotOP
    link
    fedilink
    English
    1
    edit-2
    3 months ago

    Log Cabin ➡️ Solidarity ⏰ 08:48 🦶13

    <details><summary>SPOILER - My path
    </summary>

    (Log_cabin ➡️ Cottage ➡️ Cottagecore ➡️ Social_simulation_game ➡️ Social_simulation ➡️ Social_science ➡️ Social_phenomena ➡️ Social_influence ➡️ Socialization ➡️ Social_behavior ➡️ Conformity ➡️ Peer_pressure ➡️ Social_exclusion ➡️ Solidarity) 🔗 https://www.thewikipediagame.com

    </details>

    • Emotional_Series7814
      link
      fedilink
      1
      edit-2
      3 months ago

      Try this.

      ::: spoiler
      [all your stuff you want to spoil]
      :::
      

      This is what happens. ::: spoiler [all your stuff you want to spoil] :::

      • Zagorath
        link
        fedilink
        23 months ago

        That doesn’t quite work on Lemmy, though it does on Kbin. On Lemmy you need

        ::: spoiler [unspoiled message]
        [all your stuff you want to spoil]
        :::
        
        • Emotional_Series7814
          link
          fedilink
          23 months ago

          Ugh. I wonder why the two do not play nice together. Let me see if the Lemmy version works for Kbin.

          will this be the words appearing on the dropdown?

          stuff spoiled