21
submitted 4 days ago by Mandyv2@lemmy.world to c/lemmy@lemmy.ml

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
[-] bleistift2@sopuli.xyz 17 points 4 days ago* (last edited 4 days ago)

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.

[-] NegativeLookBehind@lemmy.world 5 points 4 days ago

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.

[-] hedgehog@ttrpg.network 3 points 3 days ago

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

[-] NegativeLookBehind@lemmy.world 1 points 3 days ago

Yup, that works too.

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

Lemmy

11948 readers
14 users here now

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

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS