• ryedaft@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    ·
    14 hours ago

    You probably want double new lines in your posts. Or two spaces at the end of your paragraphs but that’s usually a bit annoying to do.

      • ryedaft@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        11 hours ago

        So you escape the newline and you get a newline? That’s some black magic voodoo. But hey if it works. Much simpler to handle than double space since you can see them and your phone doesn’t try to make them into period space instead of space space.

        Newlines with double space (or space backslash apparently) also let’s you have newlines in a quote block without exiting the block. I see a lot of people struggle with that on Lemmy. E.g.

        > A quote with multiple lines
        Will eat the the newline 
        
        Or exit if you don't handle the newline
        

        will render as:

        A quote with multiple lines Will eat the the newline

        Or exit if you don’t handle the newline

        So you want to do

        > A quote with multiple lines \
        Will eat the the newline \
        Or exit if you don't handle the newline
        

        A quote with multiple lines
        Will eat the the newline
        Or exit if you don’t handle the newline

        Or add space space at the end instead of space backslash.

        • lagoon8622@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 hours ago

          The inventors of Markdown thought they would do something devastatingly clever and eat newlines if the next line has content. That way, if you’re writing Markdown in the Stone Age and your editor doesn’t support soft-wrap (it’s a stone tablet), you can do your own soft-wrap and Markdown will “helpfully” eat all the newlines (unless there are two or more).

          Of course this has done nothing to help and instead caused chaos and confusion for anyone non-technical. Very clever

          • ryedaft@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 hours ago

            It would be more useful if there were comments in markdown. Like, it’s helpful when organising your writing and thoughts in LaTeX that you can write one line per sentence, double newline for end of paragraph. It becomes immediately clear when a sentence is too long and comments for collaborators (or yourself) are easier to handle than in something like Word or Google Docs. It’s also simpler to move sentences around which is important for good writing.