Today, I continue preparations for refactoring. Szymon updated the environment and added a spoiler tag in the markdown editor. Additionally, there were several fixes and improvements related to collections and the People page.
https://codeberg.org/Kbin/kbin-core/pulls/1325
https://codeberg.org/Kbin/kbin-core/pulls/1327
You can track changes in the official repository
https://codeberg.org/Kbin/kbin-core
or on Github
https://github.com/ernestwisniewski/kbin
I mean not having the word spoiler when writing the tag. I get that it’s done for Lemmy compatibility, which is why I suggest an alternative way to do it (like how italics can be written like _this_ or like *this*).
How do you get that to display without italicising/bolding the text? (E: like has clearly happened to me lol)
Backslashes. To get _this_, you type \_this\_. In fact, you can backslash backslashes, which is how I showed the backslashes here.
Amazing, thanks!
(now to hope I actually remember lol)
StackExchange Flavoured Markdown features spoilers done like this:
>! Hidden text
Well, @ernest is aware of way, how spoilers are done on Wykop, being simply
! Hidden text
True, though this doesn’t give the spoiler a header.
Maybe something like ||header|content||, based off how Discord handles spoilers, could work.
So
don't click if you're 8 or younger
santa isn’t real
could be written as
Edit: Backslashing doesn’t seem to work on colons for whatever reason, so I removed that example of how the spoiler could be written.