this post was submitted on 27 Jul 2023
16 points (75.0% liked)

Jerboa

10295 readers
3 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 3 years ago
MODERATORS
 

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
[–] andscape@feddit.it 35 points 2 years ago (6 children)

This is not a missing feature in Jerboa, it's a design choice in the Markdown syntax. It's done so that one can break up long lines in the .md file without affecting the rendered page. Markdown is a standard, and Jerboa uses an existing tool to format posts. In order to make this work for Jerboa the devs would have to break compatibility with Markdown and create their own rendering tool. They're most likely not going to do it, and I don't think they should.

That's not a problem, though, because you can already create single line breaks in Jerboa, using standard Markdown. All you have to do is add two spaces at the end of your first line, where you want your line break to be. So, if I write down:

This is a line<space><space>
This is another line

this gets rendered to:

This is a line
This is another line

There are other ways to create line breaks in Markdown:

  • Using an HTML <br/> tag
  • Using a backslash \

but they're not supported by all renderers. For example: the <br/> tag works in Jerboa, but not in the web UI. Double space works for me in both.

[–] soyagi@yiffit.net 2 points 2 years ago (4 children)

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.

[–] owatnext@lemmy.world 12 points 2 years ago (1 children)

I feel like this is asking Jerboa to break a standard.
Markdown is a universal standard, it's what makes webpages look like they do, minus the CSS.

[–] andscape@feddit.it 4 points 2 years ago

Agreed, standards are what make the Fediverse possible. Rendering posts from other platforms is already messy: we've all seen the posts coming from Mastodon where the title is the whole body of the post, cut at the character limit. If Lemmy starts doing its own Markdown flavor it would further degrade the integration with other Fediverse platforms.

load more comments (2 replies)
load more comments (3 replies)