DEV Community

Discussion on: JavaScript “Strings”

Collapse
 
harshilparmar profile image
Harshil Parmar • Edited

It would be nice if you use

``` javascript code```
Enter fullscreen mode Exit fullscreen mode

It automatically get highlighted 😀

Collapse
 
uma profile image
Uma

Hi Harshil, I am little confuse on what are you trying to point out? Where to use those back-ticks ?

Collapse
 
harshilparmar profile image
Harshil Parmar

Your code snippets is

holiday.length
> 9
Enter fullscreen mode Exit fullscreen mode

Now if you use language name after first three back-ticks

holiday.length
> 9
Enter fullscreen mode Exit fullscreen mode

now I think you will get it 😁

github.com/adam-p/markdown-here/wi...

Thread Thread
 
uma profile image
Uma • Edited

:) Thanks. I thought people won't care about it but I am glad you pointed it out because it looks much better with highlighted version.

Thread Thread
 
harshilparmar profile image
Harshil Parmar

Even I didn't know about that I also get same comment on my first post last week 🙌

Thread Thread
 
uma profile image
Uma

cool. Lets help each other and get better. :)

Thread Thread
 
harshilparmar profile image
Harshil Parmar

Sure 🙏