DEV Community

Discussion on: Understanding Math.random() in JavaScript!

Collapse
 
ghvstcode profile image
Oluwatobi

Hey, Great article!!
Just a little suggestion tho'
You could add the name of the language to the markdown tag to help format the code. something like


Collapse
 
vunderkind profile image
mogwai

How do you mean? I can't see anything in the block of code you're sharing.

Collapse
 
ghvstcode profile image
Oluwatobi

In your article, you added a code block, although it wasn't formatted by dev.to! if you want to make it highlighted with colors and all that good stuff, you should add the name of the programming language right after the three opening backticks used for writing a code block, I tried to demonstrate it in my earlier comment but it was converted to markdown, you could check out this post about it dev.to/hoverbaum/how-to-add-code-h...

Thread Thread
 
vunderkind profile image
mogwai

Ah, seen. And thanks - just implemented it. It's perfect.