How to embed Youtube on markdown
Unfortunately, markdown don't support to embed youtube, basically.
Unfortunately, markdown don't support to embed youtube, basically.
However, if you follow steps below, you can include your youtube video into markdown, just like as it is embedded.
Firstly, we need a thumbnail of youtube video.
Pick which youtube link will be embedd into your markdown.
As an example, I pick youtube link below.
https://www.youtube.com/watch?v=d46QTzFGLTQ
Copy the unique string(d46QTzFGLTQ) in the end of youtube link,
And paste it to (replace here)
https://img.youtube.com/vi/(replace here)/default.jpg
https://img.youtube.com/vi/d46QTzFGLTQ/default.jpg
You can see the very small image like below.
Youtube already provide thumbnails as per sizes, actually, see below. Please check that only file name in the end, is different.
https://img.youtube.com/vi/d46QTzFGLTQ/default.jpg 120x90
https://img.youtube.com/vi/d46QTzFGLTQ/mqdefault.jpg 320x180
https://img.youtube.com/vi/d46QTzFGLTQ/hqdefault.jpg 480x360
https://img.youtube.com/vi/d46QTzFGLTQ/maxresdefault.jpg 1280 x 720
Now, you already passed half of steps to embed youtube video on markdown.
Now, you already passed half of steps to embed youtube video on markdown.
Now just add youtube video link along with your youtube link like below.
[](https://youtu.be/d46QTzFGLTQ)]