This is a plugin for Obsidian to display QR Codes.
The library used for generating QR Codes is node-qrcode.
From Obsidian v0.9.8, you can activate this plugin within Obsidian by doing the following:
Type the qrcode keyword to use the QR Code Plugin.
```qrcode
https://github.com
```
The result will be this:

For complex QR Code generation (which means customizable codes) use the keyword qrcode-complex instead.
```qrcode-complex
{
"text": "this is my data",
"width": 400,
"margin": 20,
"dark": "#0FF",
"light": "#FFF",
"errorCorrectionLevel": "M"
}
```
You have the following options:
| parameter | required | description |
|---|---|---|
| text | yes | The data/content for the code |
| width | optional (default = auto) | integer value for the size |
| margin | optional (default = 4) | Define how much wide the quiet zone should be. |
| dark | optional (default = #000000) | RGB or RGBA Hex-Code for the dark Pixels |
| light | optional (default = #FFFFFF) | RGB or RGBA Hex-Code for the light Pixels |
| errorCorrectionLevel | optional (default = L) | Defines the error resistance. Possible values: L = 7% / M = 15% / Q = 25% / H = 30% - The percentage indicates the maximum amount of damaged surface after which the symbol becomes unreadable. |