[TW5] New plugin: tobibeer/hash

37 views
Skip to first unread message

Tobias Beer

unread,
Dec 31, 2015, 4:57:40 AM12/31/15
to tiddl...@googlegroups.com
Hi everyone,

Got the idea while seeing Mat struggling with generating proper URLs...

Here's version 0.5.0 of the filter plugin tobibeer/hash:


hash[]
a filter to URI-encode tiddler titles to permalink or permaview hashes or decode hashes back to titles
  • encodes an input title or operand to a permalink hash
    • encodes more than one input title to a permaview hash
  • decodes permalink or permaview hashes or fully qualified urls
    • returning tiddler titles

Syntax

[hash[foo bar]]
encode title to permalink
[[foo bar]hash[]]
dito
[tag[foo]hash[]]
encode titles to permaview
[foo%20bar]hash:decode[]]
decode hash
[hash:decode full[http://tiddlywiki.com#Customize%20TiddlyWiki]]
decode full url

Best wishes,

Tobias.
Reply all
Reply to author
Forward
0 new messages