21
submitted 1 month 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
[-] Zagorath@aussie.zone 5 points 1 month ago

Lemmy uses for its markup a language called "markdown". It’s the same one used on Reddit, Stack Exchange, as well as in a modified form on Discord.

Markdown requires two line breaks to define a new paragraph to allow you to break your paragraphs across multiple lines, a useful ability to have with writing that’s going to be tracked by Git, or displayed on some old-school text editors. It also gives you the ability to separate between two paragraphs
and one paragraph with a line break in it.
Which is a useful thing to be able to do in some circumstances, like when writing poetry, or sharing your results in !dailygames@lemmy.zip. To enter a "line break", end a line with two spaces and then press enter only once.

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

Lemmy

11948 readers
3 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