How often did you find yourself googling "How to embed a video in markdown?"
While its not possible to embed a video in markdown, the best and easiest way is to extract a frame from the video. To add videos to your markdown files easier, I think the jekyll plugin below would help you, and it will parse the video link inside the image block automatically.
jekyll-spaceship - A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, emoji, youtube, vimeo,dailymotion, etc.
https://github.com/jeffreytse/jekyll-spaceship
For now, these video links parsing are provided:
- Youtube
- Vimeo
- DailyMotion
- ...
There are two ways to embed a video in your Jekyll blog page:
Inline-style:
![]({video-link})
Reference-style:
![][{reference}]
[{reference}]: {video-link}
Then, you succeeded to embed the video into your site.