==============

This is a first line This is a second line This is the third line.

==============

These all appear on the same line eventhough I wrote them on separate lines

If I add a “enter” after each line, they’ll appear on separate lines, but have white spaces in between.

==============

This is the first line

This is the second line

This is the third line.

===============

Now I only add two spaces behind each line and they’ll appear just as I wrote them

================

This is the first line.
This is the second line.
This is the third line.

================

  • Lena@gregtech.eu
    link
    fedilink
    English
    arrow-up
    55
    ·
    edit-2
    1 day ago

    You can also put a backslash before a newline, like this

    Line1\
    Line2\
    Line3
    

    Looks like this:

    Line1
    Line2
    Line3

    Without the backslashes: Line1 Line2 Line3

    With two newlines:

    Line1

    Line2

    Line3

    Also check out this Markdown tutorial , it’s very helpful.

    • kambusha@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      Discovered this as well the other day. Much better for me, since you can see it, and also 2 spacebar hits on mobile makes a full-stop/period for me.

      • abbadon420@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Same, I actually do three spaces if you count the full-stop. (I didn’t count it)

    • Victor@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      This does not seem to render as intended in Sync. It’s like the opposite effect. The backslashes are showing in the comments, but invisible in the code blocks lol.