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 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 %}
Go to glitch.com and embed it like {% glitch vuejs %}
{% glitch vuejs %}
Go to codepen.io/ and embed it like {% codepen https://codepen.io/twhite96/pen/XKqrJX %}
{% codepen https://codepen.io/twhite96/pen/XKqrJX %}
Go to jsfiddle.net/ and embed it like: {% jsfiddle https://jsfiddle.net/link2twenty/v2kx9jcd %}
{% jsfiddle https://jsfiddle.net/link2twenty/v2kx9jcd %}
See dev.to/p/editor_guide
Oh, I didn't know! I'm going to update the post
This is gold
That's great. I didn't know that. Thinking to become more active on the dev.to now
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
Oh, I didn't know! I'm going to update the post
This is gold
That's great. I didn't know that. Thinking to become more active on the dev.to now