amp-jekyll icon indicating copy to clipboard operation
amp-jekyll copied to clipboard

SVG support

Open danmindru opened this issue 9 years ago • 2 comments

Hi there, thanks for the nifty little scripts 👍 Do you have any idea on how to deal with SVGs?

danmindru avatar Aug 10 '16 22:08 danmindru

Hi!

The AMP support for SVG is quite good, as far as I know. I did some quick testing and looks like SVG type src in amp-image works just fine. FastImage should also be able to get dimensions for SVG. According to this, most inline SVG is also allowed.

juusaw avatar Aug 11 '16 06:08 juusaw

Interesting, maybe it's just the particular SVG I was using. Gonna investigate some more. Here's what I can see in dev mode btw:

screenshot 2016-08-11 12 42 58

danmindru avatar Aug 11 '16 10:08 danmindru