1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 11:00:27 +00:00

Improve QR code plugin docs

This commit is contained in:
Jermolene 2016-10-20 09:45:04 +01:00
parent 0b76c327c2
commit cd5366087c
2 changed files with 22 additions and 0 deletions

View File

@ -8,6 +8,8 @@ caption: Generic
! Enter the details
You can also use this form to encode URLs.
<$edit-text tiddler="$:/config/plugins/tiddlywiki/qrcode/generic" default="" class="tc-edit-texteditor"/>
! Here is your QR code

View File

@ -22,3 +22,23 @@ The error correction level is a [[QR code feature|http://www.qrcode.com/en/about
<<<
QR Code has error correction capability to restore data if the code is dirty or damaged. ... Level Q or H may be selected for factory environment where QR Code get dirty, whereas Level L may be selected for clean environment with the large amount of data. Typically, Level M (15%) is most frequently selected.
<<<
!! Examples
Making a QR code for a simple string of text:
```
<<makeqr "Hello there!">>
```
Making a QR code for the URL field of the current tiddler:
```
<$macrocall $name="makeqr" text={{!!url}}/>
```
Making a QR code for the URL of the current wiki:
```
<$macrocall $name="makeqr" text={{$:/info/url/full}}/>
```