1.1.3 • Published 6 years ago

hexo-helper-inline-svg v1.1.3

Weekly downloads
647
License
MIT
Repository
github
Last release
6 years ago

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

<img src="<%- inline_svg('/images/example.svg', true) %>" />

License

MIT

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago