There’s a chance that I have forgotten something or missed something.

But these are my finds, so far.

    • ernest@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      I’m just wondering about ‘spoiler alert’ - what is it exactly? I haven’t delved into Lemmy’s code for a long time.

          • Damaskox@kbin.socialOP
            link
            fedilink
            arrow-up
            0
            ·
            7 months ago

            Oh my Deity how did you do that?!

            I’ve been cursing enviously for days when I see a spoiler (system) I couldn’t use myself!
            I didn’t get Lemmy’s style to work.

              • Damaskox@kbin.socialOP
                link
                fedilink
                arrow-up
                0
                ·
                7 months ago
                test

                Does this thing work?

                sigh Finally.
                Now I just need to find a convenient way to save this piece of code and copy-paste it whenever I need it 🤔

                .


                …except that when I wrote more text into this comment, the code broke 🤔

                Upon further testing - if I edit a text, the spoiler stops working. When I update the page, the spoiler works again.

                  • DarkThoughts@kbin.social
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    7 months ago

                    Now I just need to find a convenient way to save this piece of code and copy-paste it whenever I need it 🤔

                    Honestly, I’d just suggest to add a button for it in the editor after the code one? I think it’s a common enough thing to use to warrant it. For every other formatting maybe a little link for a pop up or expandable that shows the remaining formatting rules, similar to how it was on old.reddit.