Sometimes in my blog posts I need to embed a video, but Markdown doesn’t have any syntax for it.

It turns out that animated AVIFs are technically images, they are lightweight, and I can use them in Markdown.

https://ergaster.org/til/animated-avif-lightweight/

#web #indieWeb #smallWeb

TIL that Animated AVIFs make lightweight videos

Embeding a video in a markdown post is not that easy. AVIF turns videos into lightweight animated images.

Ergaster

@thibaultamartin AVIF is the choice nowadays for all images, photos and short animations. It took too long to get to this point!

Public information: if you upload an AVIF file to Mastodon, it will be converted into a JPEG :(