hexo-helper-inline-svg
Hexo helper that inlines svg image
Install
$ npm install hexo-helper-inline-svg --save
Usage
Add in your theme:
<%- inline_svg('/images/example.svg') %>
Or if you want to base64 encode the image
License
MIT
Hexo helper that inlines svg image
$ npm install hexo-helper-inline-svg --save
Add in your theme:
<%- inline_svg('/images/example.svg') %>
Or if you want to base64 encode the image
MIT
npm i hexo-helper-inline-svg
2
1.1.3
MIT
2.5 kB
4