hexo-tag-qrcode

1.0.0 • Public • Published

hexo-tag-qrcode

npm npm npm

A Hexo plugin that generates a qrcode image and inserts it into a post.

Install

$ npm i hexo-tag-qrcode

Usage

{% qrcode data [alt:text] [title:text] [class] %}

Example

Input

{% qrcode "hello, world" alt:"hello, world" title:"hello, world" hello world %}

Output

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGkAAABpCAAAAAAc6VLmAAAA6klEQVR42u3ZwQ6EIAxFUf7/p3GniaHlVZlMi7crDbHHBaEFWptHP+N6vY22NYGURepWmKlHo34WpHLSaJaYqU3JzIK0o6TOQqQPSKPUv5l7SFkkvz75AysrIVICSeg7hadF3TLSf6UejqefIdWQ1NmlrkGTVgapmuQ3rcLG1uxskIpIyo9E2ly5zCElldQWJXR2KmyAkbJKai5h1ZosU0iFJLkFFdcvuwgipZce3qnFz0mRKkmvz8LkSohUSApVpdB1C9KOUuiixH5F2kYSSpNymo5USApdncUv25AqSeo+129IhZNVpPTSAVWCHQugeNVrAAAAAElFTkSuQmCC" alt="hello, world" title="hello, world" class="hello world">

license

MIT

Copyright (c) 2019-present jsweibo

/hexo-tag-qrcode/

    Package Sidebar

    Install

    npm i hexo-tag-qrcode

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.09 kB

    Total Files

    4

    Last publish

    Collaborators

    • jsweibo