@[email protected] to Programmer [email protected] • 3 months agoComenting codelemmy.mlimagemessage-square87fedilinkarrow-up11.18Karrow-down112
arrow-up11.17Karrow-down1imageComenting codelemmy.ml@[email protected] to Programmer [email protected] • 3 months agomessage-square87fedilink
minus-square@essteeyoulink3•3 months agoIt renders correctly in my client (Sync), what are you using? I’ll edit it anyway.
minus-squareFonzie!linkfedilink2•edit-23 months agoIt 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: Now it is fixed:
minus-squareFonzie!linkfedilink1•3 months agoYou can also not do it, it was just an additional comment!
It renders correctly in my client (Sync), what are you using? I’ll edit it anyway.
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:
Now it is fixed:
Yep, I know, but my code isn’t in a real language.
You can also not do it, it was just an additional comment!
Thanks for your code review. :-D