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.
I’m just wondering about ‘spoiler alert’ - what is it exactly? I haven’t delved into Lemmy’s code for a long time.
I would guess it’s the capacity of masking text through markdown for spoiler purposes:
https://github.com/LemmyNet/lemmy/issues/104
masking text
Like this?
kbin does that just fine.
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.
hidden text title
hidden text
::: spoiler hidden text title hidden text :::
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.
deleted by creator
Indeed, I missed that case, thanks.
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.