17
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/dailygames

Is there a way to add spoiler tags?

I think I got spoilers to work, let me know.
I did the following:

::: SPOILER SPOILER TEXT
HIDDEN MESSAGE
:::

all 17 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 1 week ago

probably can be done betterLog Cabin ➡️ Solidarity ⏰ 02:17 🦶6 (Log_cabin ➡️ Eastern_Europe ➡️ Revolutions_of_1989 ➡️ Solidarity_(Polish_trade_union) ➡️ History_of_Solidarity ➡️ Solidarity_(disambiguation) ➡️ Solidarity) 🔗 https://www.thewikipediagame.com

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

I had really similar thinking to you, I just wasted a step.

spoilerLog Cabin ➡️ Solidarity ⏰ 01:24 🦶7 (Log_cabin ➡️ Eastern_Europe ➡️ Poland ➡️ History_of_Solidarity ➡️ Solidarity_(Polish_trade_union) ➡️ History_of_Solidarity ➡️ Solidarity_(disambiguation) ➡️ Solidarity) 🔗 https://www.thewikipediagame.com

[-] [email protected] 1 points 1 week ago

Your spoiler tag isn't hiding anything on my end

[-] [email protected] 2 points 1 week ago

Is your instance Lemmy or some other fedicerse platform? And if it's Lemmy, what client are you using? Because their syntax displays correctly for me on Jerboa and lemmy-ui, and I'm fairly sure it'll work on any well-behaved Lemmy client.

[-] [email protected] 1 points 1 week ago

I'm not sure, I'm just using my browser (Firefox) at piefed.social, the other spoiler tags in these comments are working for me though

[-] [email protected] 2 points 1 week ago

Oh whoops, I just realised your previous comment was a reply to @[email protected] and not @[email protected].

Ok so it looks like Piefed is the name of the platform you're on, a different threadiverse platform from Lemmy or Kbin. Unfortunately some of the more advanced syntax like spoilers are the first things to become incompatible when you cross over between different platforms.

This should work on Lemmy:

TestTest spoiler text

This should work on Kbin, I believe:

::: spoiler Test spoiler text :::

!This is the syntax that worked on Reddit.!< (and tbh I quite like that syntax because it enables inline spoilers, instead of only paragraphs)

From what I can tell, Piefed has similar behaviour to Lemmy. Unfortunately emotional_series is on Kbin which means their spoiler syntax is breaking for you, and for me. Their above comment is particularly bad for me because they didn't even include a paragraph break before starting the ::: spoiler. And it breaks even worse for you because Piefed seems to default to treating the text that Kbin intends to be hidden as the revealed part of the spoiler if they do have the paragraph break. And it also ignored code blocks in order to spoil code.

This is what you should be seeing in the lower comment:

instead of this:

and what emotional_series sees is this:

[-] [email protected] 3 points 1 week ago

This is incredibly helpful, thank you for taking the time to help! I honestly thought Piefed was Lemmy, I'm still new to the fediverse. I think I should try using an app

[-] [email protected] 2 points 1 week ago

Yeah the great thing about the fediverse is how interoperative it is. There are differing degrees of compatibility, but to some extent we can talk to each other even between Mastodon (ostensibly a Twitter-like platform) and Lemmy (Reddit-like). You could never imagine Tweeting to reply to a Reddit post.

[-] [email protected] 2 points 1 week ago* (last edited 1 week ago)

The fact these platforms all play differently is so annoying. First with linking other magazines/communities, now spoilers apparently. Something that looks nice and works on one platform is unreadable/spoils/nonfunctional on another. For what it is worth, all attempted spoilers in your comment that I am replying to now work for me on Kbin. Except the Reddit-style spoilers, which I believe work nowhere on the Fediverse.

[-] [email protected] 2 points 1 week ago

As a bonus, a bunch of apps have their own way of doing spoilers. It's a bit of a mess.

[-] [email protected] 2 points 1 week ago

The reason I included the Reddit one is because I think some Lemmy mobile clients that used to be Reddit clients might still support them. Because really rendering is a matter for the client more than the platform.

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Log Cabin ➡️ Solidarity ⏰ 08:48 🦶13

(Log_cabin ➡️ Cottage ➡️ Cottagecore ➡️ Social_simulation_game ➡️ Social_simulation ➡️ Social_science ➡️ Social_phenomena ➡️ Social_influence ➡️ Socialization ➡️ Social_behavior ➡️ Conformity ➡️ Peer_pressure ➡️ Social_exclusion ➡️ Solidarity) 🔗 https://www.thewikipediagame.com

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Try this.

::: spoiler
[all your stuff you want to spoil]
:::

This is what happens. ::: spoiler [all your stuff you want to spoil] :::

[-] [email protected] 2 points 1 week ago

That doesn't quite work on Lemmy, though it does on Kbin. On Lemmy you need

[unspoiled message] [all your stuff you want to spoil]
[-] [email protected] 2 points 1 week ago

Ugh. I wonder why the two do not play nice together. Let me see if the Lemmy version works for Kbin.

will this be the words appearing on the dropdown?stuff spoiled

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

spoiler
Log Cabin ➡️ Solidarity ⏰ 03:45 🦶5 (Log_cabin ➡️ North_Ostrobothnia ➡️ Finland ➡️ European_Union ➡️ Pan-European_nationalism ➡️ Solidarity) 🔗 https://www.thewikipediagame.com

this post was submitted on 04 Jul 2024
17 points (94.7% liked)

dailygames

475 readers
64 users here now

Community for daily games like Wordle, Jumblie, Connections etc.

Post your daily games and scores. Discover new games and discuss with others.

Find games

Share your results

It’s useful to wrap your results in a markdown codeblock to preserve the layout. Put three backticks ``` before and after your result to create a codeblock.

🟨🟨⬛⬛⬛
🟨🟩⬛⬛⬛
🟩🟩🟨🟨⬛
🟩🟩🟩🟩🟩

Rules

founded 1 month ago
MODERATORS