this post was submitted on 04 Nov 2024
0 points (NaN% liked)

Eternity

1711 readers
1 users here now

Eternity is a free and open-source Lemmy client, forked from Infinity for Reddit!

🔗Universal Link: [email protected]

📥 Downloads
🌱Contribute

Rules

  1. Stay on topic: All posts should be related the Eternity project

  2. Be descriptive: If you're reporting a bug, please provide as much detail as you can. Screenshots can be helpful!

  3. Be nice: Keep it positive! Treat others with respect, even if you disagree. Accordingly, you should expect others to be nice to you as well. Report intentionally rude comments.

  4. No piracy: Do not share links or direct people to pirated content.

  5. No advertising: Please refrain from advertising products or other projects here.

founded 1 year ago
MODERATORS
 

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 week ago* (last edited 1 week ago) (2 children)

eli5 for why the markdown needed to change to be different on lemmy from "the other site"? Is this style markdown more standard elsewhere?

[–] [email protected] 0 points 1 week ago

Lemmy follows CommonMark, which is similar but not exactly the same as what was used in The Other Place. I do wish Lemmy supported some form of in-line spoilers.

[–] [email protected] 0 points 1 week ago

Markdown itself is very old and afaik does not actually support spoiler tags (I don't think they were even a thing at the time). So every implementation of spoiler tags is just their own cooked up mess.

[–] [email protected] 0 points 1 week ago (1 children)

Eternity's specific issues around spoilers aside, I think other apps / platforms might struggle with that post because the spoilers aren't technically formatted correctly - the ::: that ends a spoiler should be on a new line.

lemmy-ui might've handled them as the user expected, but anything using a different Markdown library might not (including Lemmy's own backend when it comes to the HTML content field for federation)

[–] [email protected] 0 points 1 week ago* (last edited 1 week ago) (1 children)

They were formatted correctly. This screenshot here is of the rendered text, not the source. The issue is that with markdown, you need two newlines to create a new paragraph. If you only use one newline, the subsequent line just gets placed at the end of the previous line. Because Eternity does not parse the spoilers correctly here, it is placing all three lines of each spoiler into one line.

https://lemmy.ml/post/22135805

[–] [email protected] 0 points 1 week ago

Ah, I see now, thanks. I didn't know where the original post was, or I would've confirmed. I suppose I could have figured out it was for Forza Horizon in retrospect.

You can get a new line (as opposed to a paragraph) with Lemmy using 'space space enter' but I didn't realise that spoilers don't even need that.

[–] [email protected] 0 points 1 week ago (1 children)

It hasn't since the beginning. This is because it's still using and expecting Reddit's spoiler markdown. Should be fixed next release. See this earlier post from August:

https://feddit.nl/post/19814905

[–] [email protected] 0 points 1 week ago (1 children)

I can confirm: broken in release, working in nightly

[–] [email protected] 0 points 1 week ago (1 children)

Where do you get the nightly builds?

[–] [email protected] 0 points 1 week ago

Add the F-Droid repo to your F-Droid client or Obtainium

https://bazsalanszky.codeberg.page/fdroid/repo/

[–] [email protected] 0 points 1 week ago (1 children)
[–] [email protected] 0 points 1 week ago (1 children)

Lemmy-style spoilers had never worked for me when I used Eternity. I think it still just supports Reddit-style spoilers, from the Infinity days.

Reddit-style:

!I use Thunder now!<

Lemmy-style:

SpoilerI use Thunder now

[–] [email protected] 0 points 1 week ago

Use code blocks please.