ernest,
@ernest@kbin.social avatar

These points are not a priority, but relatively easy to achieve. They will gradually appear on the instance in between working on significant things. It's worth following https://kbin.social/m/kbinDevlog

ernest,
@ernest@kbin.social avatar

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

massive_bereavement,
@massive_bereavement@kbin.social avatar

I would guess it's the capacity of masking text through markdown for spoiler purposes:
https://github.com/LemmyNet/lemmy/issues/104

Teppic,
@Teppic@kbin.social avatar

::: spoiler masking text
Like this?
:::
kbin does that just fine.

Damaskox,
@Damaskox@kbin.social avatar

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.

ernest,
@ernest@kbin.social avatar

::: spoiler hidden text title
hidden text
:::

::: spoiler hidden text title 
hidden text
:::

Damaskox,
@Damaskox@kbin.social avatar

::: spoiler 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.

ernest,
@ernest@kbin.social avatar

Indeed, I missed that case, thanks.

DarkThoughts,

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.

  • Wszystkie
  • Subskrybowane
  • Moderowane
  • Ulubione
  • rowery
  • test1
  • Spoleczenstwo
  • lieratura
  • muzyka
  • sport
  • Blogi
  • Technologia
  • Pozytywnie
  • nauka
  • FromSilesiaToPolesia
  • fediversum
  • motoryzacja
  • niusy
  • slask
  • informasi
  • Gaming
  • esport
  • Psychologia
  • tech
  • giereczkowo
  • ERP
  • krakow
  • antywykop
  • Cyfryzacja
  • zebynieucieklo
  • kino
  • kbinMeta@kbin.social
  • warnersteve
  • Wszystkie magazyny