hexo-helper-inline-svg

1.1.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hexo-helper-inline-svg

Weekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

2.5 kB

Total Files

4

Last publish

Collaborators

  • dmitriy.nevzorov