70
you are viewing a single comment's thread
view the rest of the comments
[-] henfredemars@infosec.pub 5 points 7 months ago

Thank you! I'm not sure how or why that works.

[-] davel@hexbear.net 7 points 7 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

[-] InevitableSwing@hexbear.net 6 points 7 months ago

They copied what reddit uses. As for why reddit does it that way - I have no idea.

[-] malijaffri@lemmy.dbzer0.com 9 points 7 months ago

It's the standard Markdown implementation

[-] SSJ2Marx@hexbear.net 7 points 7 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 3 points 7 months ago* (last edited 7 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
```
this post was submitted on 15 Mar 2024
70 points (100.0% liked)

chapotraphouse

13498 readers
942 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Vaush posts go in the_dunk_tank

Dunk posts in general go in the_dunk_tank, not here

Don't post low-hanging fruit here after it gets removed from the_dunk_tank

founded 3 years ago
MODERATORS