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

    • davel [he/him]
      ·
      4 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
        ·
        4 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
          4 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
          ```