Re:Show HN: A cool Drag-and-Drop implementation for Svelte
by davidmurdoch on Tuesday January 12, 2021 @09:14AM
(#25747136)
You can put animated svgs in github markdown.
Re:Show HN: A cool Drag-and-Drop implementation for Svelte
by dspillett on Tuesday January 12, 2021 @09:32AM
(#25747351)
I'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".
Re:Show HN: A cool Drag-and-Drop implementation for Svelte
by davidmurdoch on Wednesday January 13, 2021 @09:37AM
(#25762446)
Sorry, 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?
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.