Daniel Lip
Daniel Lip

Reputation: 11329

How can I add embed animated gif to a github repository README.md?

The animated gif I have is 2.5MB size Converted it from mp4 video.

Upvotes: 2

Views: 3267

Answers (2)

Jaydeep parmar
Jaydeep parmar

Reputation: 569

Simply upload gif in the root folder of your repository and add below line in Readme.md file

![Alt text](name_of_your_gif_file.gif)

Push your code and it will work like magic

Upvotes: 1

VonC
VonC

Reputation: 1323115

You can see an animated gif in this kellim/farmers-market-finder README file.

The source code shows that gif embedded as any other picture:

![Farmers Market Finder - Animated gif demo](demo/demo.gif)

You have the same method used in "How to add GIFs to your GitHub README" from Joe Cardillo.

Upvotes: 6

Related Questions