https://twitter.com/TechBurritoUno/status/1768363023192768799

  • InevitableSwing [none/use name]
    ·
    9 months ago

    Two spaces on the end.

    ---

    Yada yada verse
    Yada yada verse
    Yada yada verse

    Yada yada chorus
    Yada yada chorus
    Yada yada chorus

      • davel [he/him]
        ·
        9 months ago

        Lemmy’s markup language is based on the CommonMark spec.

        6.7 Hard line breaks

        A line ending (not in a code span or HTML tag) that is preceded by two or more spaces and does not occur at the end of a block is parsed as a hard line break

        • SSJ2Marx
          ·
          9 months ago

          soviet-hmm Would it be possible for the text in the box you type in to just... appear in the post exactly as you typed it?

          • malijaffri@lemmy.dbzer0.com
            ·
            edit-2
            9 months ago

            You could wrap it in backticks:

            text
                  exactly
               as       typed
            

            Without the backticks, it becomes:

            text exactly as typed

            Edit: backticks:

            ```
            text
                  exactly
               as       typed
            ```