Skip to content

yscoder/hexo-helper-qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-helper-qrcode

QRcode for Hexo helper plugins.

install

$ npm i -S hexo-helper-qrcode

useage

<img src="<%- qrcode(url) %>">

<!-- white margin, default 0 -->
<img src="<%- qrcode(url, {
    margin: 2
}) %>">

<!-- size of one module in pixels, default 6 -->
<img src="<%- qrcode(url, {
    size: 4
}) %>">

license

MIT