Skip to content

yscoder/hexo-helper-qrcode

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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