1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/plugins/tiddlywiki/qrcode/ViewToolbarButton/URL.tid

15 lines
400 B
Plaintext

title: $:/plugins/tiddlywiki/qrcode/ViewToolbarButton/URL
tags: $:/tags/ViewToolbarButton/QRcode
caption: URL of this tiddler
subtitle: QR code of URL of this tiddler
\define image()
<img src=<<makeqr text:"""$(url)$#$(hash)$""" size:"350">>/>
\end
<$set name="url" value={{$:/info/url/full}}>
<$set name="hash" filter="[<currentTiddler>encodeuricomponent[]]" select="0">
<<image>>
</$set>
</$set>