hexo-helper-inline-svg
v1.1.3
Published
Hexo.io helper to inline SVG images
Maintainers
Readme
hexo-helper-inline-svg
Hexo helper that inlines svg image
Install
$ npm install hexo-helper-inline-svg --saveUsage
Add in your theme:
<%- inline_svg('/images/example.svg') %>Or if you want to base64 encode the image
<img src="<%- inline_svg('/images/example.svg', true) %>" />License
MIT
