Hacker News new | ask | show | jobs
by itswitch 4859 days ago
You can embed SVG into HTML if you wish.

Basically, browsers support SVG.

1 comments

Yeah, but part of my goal is to only have to change the source for the image in one place. I suppose I could have a partial template with the SVG in it and pass in a variable for the scale, but I would still prefer the elegance of having a web-accessible API so I can use the images anywhere.

And of course, IE8 and below don't speak SVG.