↑ Helpers
⚙️ qr-code
Displays QR code
→ See this page in edit mode.
Example
Code
```h:qr-code
text: Test code
size: 400
margin: 1
fgColor: "#F51212"
```
Parameters
name | meaning | type | default |
---|---|---|---|
text | String to encode | String | no, required! |
size | Size of the code | Number | If not specified, generated QR will have adaptive width. |
bgColor | Background (light) color (hex) | String (must be quoted) | "#ffffff" |
fgColor | Foreground (dark) color | Same as above | "#000000" |
margin | Margin around QR code (in modules) | Number | 4 |