Thank you, that helped me a bit to understand. I still couldn't make it
work anywhere in any of my codes. Is it possible to put it in $vars?
<$vars titleName={{{ [<currentTiddler>] +[encodeuri[]] }}}>
...
</$vars>
Can't seem to get it right.
On Wednesday, 22 May 2019 10:46:48 UTC+8, Mark S. wrote:
>
>
>
> You can display the title like this:
>
> {{{ [<currentTiddler>] +[encodeuri[]] }}}
>
> "encodeuri" has to be invoked inside a filter. Triple {{{ }}} brackets are
> one way of doing that. But you may have had something else in mind.
>
> Good luck!
>
> On Tuesday, May 21, 2019 at 6:40:14 PM UTC-7, Dunstan Hume wrote:
>>
>> Hello, I've been trying for hours and I can't seem to get my macro working
>>
>> \define encodeTitleString(text)
>> [[$(currentTiddler)$]] +[encodeuri[]]
>> \end
>>
>> How do I get it to get the title of the current tiddler, then spit out
>> the encoded string?
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/943c71a0-ca33-4c1b-9f96-2c936fc679df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.