17
submitted 1 year ago by soyagi@yiffit.net to c/jerboa@lemmy.ml

Jerboa currently ignores single line breaks. I think single line breaks should be implemented as the only other alternative is double line breaks which are not always appropriate.

you are viewing a single comment's thread
view the rest of the comments
[-] soyagi@yiffit.net 2 points 1 year ago

Thank you for the explanation. Good to know single line breaks are possible. However, other web services allow the user to use a single line break and it's displayed in the same way. While you give a good technical reason why it is this way, I'm not convinced it's the most user friendly approach.

[-] andscape@feddit.it 15 points 1 year ago

Which other web services support Markdown formatting and also single line breaks? Reddit, for example, didn't...

Since AFAIK the main reason for this choice in standard Markdown was to make the raw .md files more readable, I can see how this isn't necessary in Lemmy. I still see two reasons not to change this though:

  • Effort: forking and maintaining a markdown rendering library just for lemmy would take a ton of effort for a pretty small usability improvement. The dev team is already small and overloaded with work, this doesn't seem like a good use of their time.
  • Consistency: each website having its own flavor of Markdown syntax would be pretty chaotic for users. Right now you can learn basic Markdown once and use it on Reddit, Lemmy, Github, etc. If every website did it their own way you'd have to remember all the little differences, it would get messy.

We could probably add it easily to the existing markdown library since it supports plugins (in fact, the lemmy link handling is done with a plugin).

But the main reason to not do it is to not be surprising. Ideally Jerboa renders the same as lemmy-ui and other Lemmy mobile apps. That's why standards exist.

[-] andscape@feddit.it 1 points 1 year ago

Oh cool, didn't know about the plugins.

load more comments (2 replies)
load more comments (7 replies)
this post was submitted on 27 Jul 2023
17 points (75.8% liked)

Jerboa

10133 readers
27 users here now

Jerboa is a native-android client for Lemmy, built using the native android framework, Jetpack Compose.

Warning: You can submit issues, but between Lemmy and lemmy-ui, I probably won't have too much time to work on them. Learn jetpack compose like I did if you want to help make this app better.

Built With

Features

Installation / Releases

Support / Donate

Jerboa is made by Lemmy's developers, and is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project.

Crypto

Contact

founded 2 years ago
MODERATORS