• @essteeyou
    link
    22 hours ago

    It renders correctly in my client (Sync), what are you using? I’ll edit it anyway.

    • Fonzie!
      link
      fedilink
      1
      edit-2
      2 hours ago

      It renders correctly on the web as well for me.

      But the ``` being on their own line is how to write it properly, as stated this website among many others.

      This way, you can put the intended programming language on the same line as the first ```, ensuring proper colour coding!

      Ex.

      echo "Hello $name\n";
      
      echo "Hello $name\n";
      

      EDIT I checked on mobile, it rendered odd on Jerboa for me:

      Screenshot of essteeyou@lemmy.world their comment in the Jerboa client before the edit

      Now it is fixed:

      Screenshot of essteeyou@lemmy.world their comment in the Jerboa client after the edit

      • @essteeyou
        link
        22 hours ago

        Yep, I know, but my code isn’t in a real language.

        • Fonzie!
          link
          fedilink
          12 hours ago

          You can also not do it, it was just an additional comment!

          • @essteeyou
            link
            110 minutes ago

            Thanks for your code review. :-D