QRCode

Crypto Michael

To create a QRCode, add text inside a fenced code block with the qrcode identifier.

GitSite's QRCode rendering capability uses qrcode-svg: an open source, JavaScript-based library.

```qrcode
https://gitsite.org
```

The text inside the fenced code block will be converted to a QRCode:

Image can be set by URL:

```qrcode image=like.png
https://gitsite.org
```

You can specify some extra arguments to control the QRCode:

Parameter Description
ecl=[l|m|h|q] The error correction level, default to ecl=l.
width=[size-in-px] The width in px, default to width=200.
align=[left|center|right] The alignment of the QRCode, default to align=left.
image=[URL] The image URL, default to none.
image-width=[size-in-px] The image width, default to auto.
info Display the text content, if present.
link Display the text as URL, if info present and the text is a valid link.

Example:

```qrcode ecl=m width=300 align=center info link
https://gitsite.org
```

Share to: