shiyanhui / hero

A handy, fast and powerful go template engine.
https://shiyanhui.github.io/hero
Other
1.57k stars 96 forks source link

SVG support #57

Closed concatime closed 6 years ago

concatime commented 6 years ago

Hi there. It would be great if we can import svg file into html. Something like <%+ "image.svg" %>. If the link ends with .svg, just copy the content, without parsing. Right now, I'm getting image.svg not parsed

shiyanhui commented 6 years ago

There is already option extensions for that. Please read the README for detail. Thanks.