I have noticed that some posts on some Lemmy instances created by others have successfully made use of the details/summary tags which gives an arrow that expands.

When I tried it here, the tags are just literally printed. Am I doing something wrong (i.e. stupid user error), or is this functionality instance or version dependent?

  • h3ndrik@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    I think you need to use Markdown and not bracketed tags.

    Try the spoiler format:

    https://join-lemmy.org/docs/users/02-media.html

    You can also have a look at how other people did it. There should be a button somewhere to view the source text of any post or comment. In the Lemmy web-interface this button is hidden behind the three dots icon.

    • activistPnk@slrpnk.netOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Thanks! It’s rarely used so trying to find back a post that used it would be hard. Knowing the terminology (spoiler) was half the battle.

  • glibg10b
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    For reference:

    ::: spoiler Summary
    Details
    :::
    
    Summary

    Details