• Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      0
      ·
      2 months 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";