Embedded youtube video in Markdown

root

Apr 15 2026


Embedding videos could be a common question. So there is an example:

[![Alt text](https://img.youtube.com/vi/VIDEO_ID/0.jpg)](https://www.youtube.com/watch?v=VIDEO_ID)

there is an specific case, the video id is in the final part of the URL:

[![Alt text](https://img.youtube.com/vi/d-diB65scQU/0.jpg)](https://www.youtube.com/watch?v=d-diB65scQU)

This will be the result:

Alt text

Simple and short!


root

Just share your knowledge!