mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 23:39:57 +00:00
15 lines
400 B
Plaintext
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>
|