DEV Community

Discussion on: How to create a navigation using Flexbox

Collapse
 
link2twenty profile image
Andrew Bone

In that same vein you host your code somewhere like JSFiddle then take the URL and put it in a tag like this.

{% jsfiddle lhttps://jsfiddle.net/ink2twenty/f16voc7q/ result html css %}

There's lots of tags like this you might find helpful in the Editor Guide. 😊

Collapse
 
pinkylalwani profile image
Pinky Lalwani

Thanks Andrew! This is a very cool way to put code in my post.🥺
How to put YouTube video link in my post?

Thread Thread
 
link2twenty profile image
Andrew Bone
{% youtube dQw4w9WgXcQ %}

Thread Thread
 
pinkylalwani profile image
Pinky Lalwani

🙌

Collapse
 
jamesncox profile image
James Cox

Oh this is great!!! I assume Ican do this with my Codesandbox examples also.

Thread Thread
 
link2twenty profile image
Andrew Bone

Yep! That one's just:

{% codesandbox sandbox_name %}
Thread Thread
 
jamesncox profile image
James Cox

Nice one, thanks Andrew!