mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 05:44:50 +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>
|