**Ugly code. **While you can use your code in, it is an ugly black background chunk with the text in white. it works but it is hard to read it. Still better than the one in Medium.
Dev.to supports marking language type of the code snippet, so you can get very nice highlighting :)
The only what you have to do is to add language name after opening quotes like javascript. For example:
Dev.to supports marking language type of the code snippet, so you can get very nice highlighting :)
The only what you have to do is to add language name after opening quotes like
javascript
. For example:Thanks. I edited the OP and add the code highlighting as a (another) pro for dev.to.