Recently, the CEO of Github, Nat Friedman share some small improvements made to Github that hopefully improve our life just a little bit.
There are 5 cool improvements, but I want to highlight one that is even cooler ๐.
So, what is it ??
Video files that you drop onto markdown files are now automatically embedded
! ๐ค
To me, it is cool tho. You just drag your video file on your laptop or pc to the markdown file in Github. Done.
Easy peasy.
Before this, I can embed the video either change it to the gif or create a new file and reference it to the README file.
Thanks, Github ๐.
If you try it, the result will be like this;
I created this repo as an example so you can look at the raw or markdown file.
The end :p
Follow me on Twitter ๐
Top comments (4)
bruh, it's so simple. i was thought need tricky method like adding dropdown element
<details>
or directly using html code.Cool. thanks for the information
But what's the code to embed it without dragging and dropping it?
You can view the code on GitHub. For this video it's: