The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,947 other followers

YouTube videos in Markdown – via Markdown Cheatsheet · adam-p

Posted by jpluimers on 2018/02/28

Clever, as I didn’t know you could directly refer to the YouTube preview image using the “/0.jpg” trick:

Youtube videos

They can’t be added directly but you can add an image with a link to the video like this:

<a href="
" target="_blank"><img src="" 
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>

Or, in pure Markdown, but losing the image sizing and border:


Source: [WayBackMarkdown Cheatsheet · adam-p/markdown-here Wiki · GitHub

Gif using

If you allow using resources outside of YouTube, then you can use to render the video into a gif image and use that image in the above construct.

I tried that with a few seconds from which resulted in and the gif file

via: [WayBackflash – How to embed a video into GitHub – Stack Overflow (thanks [WayBackaloisdg for answering)







Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: