DEV Community

loading...

Discussion on: Should you use Medium or dev.to?

Collapse
smalluban profile image
Dominik Lubański

**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:

console.log("I'm highlighted");
Collapse
davidmm1707 profile image
David MM🐍 Author

Thanks. I edited the OP and add the code highlighting as a (another) pro for dev.to.