• barsoap@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    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
    
    • tb_@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 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.