70
you are viewing a single comment's thread
view the rest of the comments
[-] InevitableSwing@hexbear.net 10 points 8 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

[-] henfredemars@infosec.pub 5 points 8 months ago

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

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

It's the standard Markdown implementation

[-] SSJ2Marx@hexbear.net 7 points 8 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 8 months ago* (last edited 8 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

13522 readers
941 users here now

Banned? DM Wmill to appeal.

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

Gossip posts go in c/gossip. Don't post low-hanging fruit here after it gets removed from c/gossip

founded 3 years ago
MODERATORS