3 ms·
> GIF is an irredeemably bad format that no one should ever use any more IIRC there is no other option if you want to include animation in a GitHub readme, as
by dspillett 6y ago
> GIF is an irredeemably bad format that no one should ever use any more
IIRC there is no other option if you want to include animation in a GitHub readme, as it will only include image formats inline that way. Otherwise you could use a video, which for this content would likely be larger but would have the advantage of being able to not auto-play.
Of course "don't include animation at all" would be a valid opinion, though not one likely to meet with universal agreement.
- davidmurdoch 6y agoYou can put animated svgs in github markdown.
- dspillett 6y agoI'm not sure that would help here. How would the author easily create so an SVG from the recording of his app/component in action? Naive conversion will result in something much larger than the gif so not address the original complaint of "large chunk of auto-download/play content on the readme page".
- davidmurdoch 6y agoSorry, I was just responding to your comment on general: > IIRC there is no other option if you want to include animation in a GitHub readme Not the parent. In any case, I wonder if it can be done with an embedded `video` tag. Maybe if the video is data URI encoded it could work?
- mzs 6y agoYou can use video on git hub pages (.io) instead.