If you'd like, you can add syntax highlighting (colours that make code easier to read) to your code block like the following example.
console.log('Hello world!');
This should make it a bit easier to understand your code. 😎
In order to use this in your code blocks, you must designate the coding language you are using directly after the first three back-ticks. So in the example above, you'd write three back-ticks js (no space between the two), put the code beneath (e.g. console.log('Hello world!');), then three back-ticks beneath that to close the code.
I'm a Software Engineer in Poland, working in my own small company. I built a lot of projects with PHP and other technologies connected with web development (JS, HTML5, Laravel, WordPress, CSS).
I'm a Software Engineer in Poland, working in my own small company. I built a lot of projects with PHP and other technologies connected with web development (JS, HTML5, Laravel, WordPress, CSS).
I am a Frontend Engineer with a passion for building pixel-perfect web applications, with great user interface and user experience, and also teaching others what I learn
I am interested in Web3, WebGL
Hello!
If you'd like, you can add syntax highlighting (colours that make code easier to read) to your code block like the following example.
This should make it a bit easier to understand your code. 😎
In order to use this in your code blocks, you must designate the coding language you are using directly after the first three back-ticks. So in the example above, you'd write three back-ticks js (no space between the two), put the code beneath (e.g.
console.log('Hello world!');
), then three back-ticks beneath that to close the code.Here's an image that shows how it's written!
I corrected the code in this article, thank you for advice.
I will do it tomorrow! Didn't know that dev.to parses languages in markdown.
Good point Andrew
I do this with my articles too