Why does this procedure not work in other tiddlers?

I have what I think is a simple procedure:

\procedure pl-map()
<$leafmap tile='natgeo' places='{"filter":"[tag[Places]]"}' zoom='4' marker='pin' color='blue'/>

\end

<<pl-map>>

Now this works in the tiddler where I defined it, but if I put <<pl-map>> in another tiddler it produces no output. If I inspect the html it seems to be completely ignoring the procedure call.

Is there something wrong with the syntax of my procedure?

Have you tagged the tiddler with the definition with $:/tags/Global ? That tag makes it available in other tiddlers.

see TW.com

1 Like

This makes the definition available everywhere in the wiki.

If you want finer grained exposure, also see https://tiddlywiki.com/#Pragma%3A%20\import

1 Like