this post was submitted on 16 Feb 2024
645 points (100.0% liked)

196

16443 readers
1690 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
645
Rule for Beginners (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://lemmy.dbzer0.com/post/14479799

Linux Best Practices

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

You're telling markdown to format the code in the language fork() { and then break the code block early by not having > in front of the next line. Here's a quoted code block formatted in sh:

fork() {
   fork | fork &
}
fork
[โ€“] [email protected] 1 points 8 months ago

It seems the app I use to browse doesn't play entirely nice with markdown. I updated my formatting a little, thanks for the notice.