this post was submitted on 21 Jun 2023
6 points (100.0% liked)

Jerboa

10299 readers
2 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
 

when i write a text with a line return, the line return dissapear. That's something i really hate with markdown. How i can force a line return in jerboa ?

all 8 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

In markdown, put an empty line

Like this.

[–] [email protected] 1 points 1 year ago

Markdown also supports html. So a line br <br/> also works

[–] [email protected] 1 points 1 year ago

Markdown wants two new lines to do a new paragraph.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)
A single line return
disapears

A single line return disapears

A double line return

Gives a new paragraph

A double line return

Gives a new paragraph

A double space at the end of a line  
Gives a new line

A double space at the end of a line
Gives a new line

Same for ending a line with a \
You just get a new line

Same for ending a line with a
You just get a new line

And to recreate this example
```

    gives
 a  block  of
  preformed
    code

```

>And starting each line like this
>
>Gives a block quote\
thought it's not needed if you use a simple line return\
or two

And starting each line like this

Gives a block quote
thought it's not needed if you use a simple line return
or two

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

Two times spacebar
Like this

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Yup, either put a blank line:

like

this

Or put two spaces at the end of the line (using underscores for spaces):

like__
this

The first renders with a blank line, the second renders without (but the lines are separated). Usually you want the first.

Example of the first:

Hello, this is an example.
This is the next line.

Example of the second:

Hello, this is an example.

This is separate paragraph.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Thanks

Mate