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 thread.
View all comments
24 points

It’s the way Markdown works. If you put two spaces at the end of a line
before hitting enter, then it will only do a normal linebreak.

permalink
report
reply
10 points

Example: Type

Once upon a midnight dreary  
While I was pondering, weak and weary  
Over many a quiant and curious volume of forgotten lore  

To get:

Once upon a midnight dreary
While I was pondering, weak and weary
Over many a quiant and curious volume of forgotten lore

(You can highlight the source code to find the extra spaces at the end of each line). Note that this is different from paragraphs, which add spacing between them:

Once upon a midnight dreary

While I was pondering, weak and weary

Over many a quiant and curious volume of forgotten lore

Once upon a midnight dreary

While I was pondering, weak and weary

Over many a quiant and curious volume of forgotten lore

permalink
report
parent
reply
3 points

For anyone who cares, you can get this same behavior of a normal line break by holding shift while pressing enter as well.

permalink
report
parent
reply
7 points
*
Not
in
markdown

(Pressed Shift+Return after every word.)

Not in markdown.

But it works in other word processors (like Word, libreoffice) that distinguish between line breaks and paragraph breaks.

permalink
report
parent
reply

Lemmy

!lemmy@lemmy.ml

Create post

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

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

Community stats

  • 268

    Monthly active users

  • 309

    Posts

  • 1.3K

    Comments

Community moderators