DEV Community

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

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

What should note is that on dev.to you can have embedded runnable snippets.

I think they are sooo much better than just a block of code.

They are documented at dev.to/p/editor_guide

For example:

Kotlin Playground {% kotlin URL %}

To create a runnable Kotlin snippet, go to play.kotlinlang.org

And embed it like this:

{% kotlin https://pl.kotl.in/owreUFFUG?theme=darcula&from=3&to=6&readOnly=true %}

Glitch

Go to glitch.com and embed it like {% glitch vuejs %}

CodePen

Go to codepen.io/ and embed it like {% codepen https://codepen.io/twhite96/pen/XKqrJX %}

JSFiddle

Go to jsfiddle.net/ and embed it like: {% jsfiddle https://jsfiddle.net/link2twenty/v2kx9jcd %}

Others

See dev.to/p/editor_guide

Collapse
 
davidmm1707 profile image
David MMπŸ‘¨πŸ»β€πŸ’»

Oh, I didn't know! I'm going to update the post

Collapse
 
cescquintero profile image
Francisco Quintero πŸ‡¨πŸ‡΄

This is gold

Collapse
 
tbhaxor profile image
Gurkirat Singh

That's great. I didn't know that. Thinking to become more active on the dev.to now