this post was submitted on 13 Oct 2024
21 points (100.0% liked)

Lemmy

12489 readers
319 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

I apologize if this is not right to post here but im not sure where to go with this one as i havent really found an answer myself.

See, heres the thing, as yall surely know when i hit enter on a line once it will not work, it has to be two.

Is that intentional, if so why?

how does one disable that?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 1 week ago* (last edited 1 week ago) (1 children)

This is how markdown works. There is no way to disable that. This is an old convention from when text editors didn’t wrap lines automatically and enables you to write long paragraphs of text, breaking the lines as it makes sense to you, without creating a paragraph each time.

See the Lemmy help page on markdown or the Markdown Guide.

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

The “workaround” is to use a backslash to sort of escape the default behavior:

This is line one \
This is line two

Without the code formatting, of course.

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

You should also be able to just put two spaces
At the end of a line to insert a line break.

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

Yup, that works too.