Hi *@Tobi*, In the official docs: *"make a macro available to all tiddlers"* vs my: *"global macro"*, and I'm the one complaining that the current documentation is too developer-centric?! Oh gosh, what a dunderhead I must seem. I guess that's why I couldn't find it when searching for "global macro" in the TW5 docs. My bad. I didn't really understand the concept of System Tags <http://tiddlywiki.com/#SystemTags> until now, too, even though I used $:/tags/SideBar in the TOC, and $:/tags/Stylesheet in the example you helped me with earlier. But I see how they work now. Thanks.
Anyway, so I just need to tag my $:/_Macros/defn-link macro with the $:/tags/Macro tag, then I can call it from any tiddler in my wiki using *Eric's* example, renamed to <<defn-link "tiddler-name">> as per my new macro, right? Extending this further, how would I (optionally) convert the resulting link to lowercase characters? I often use [[open source|Open Source]] notation within my regular links, so that the displayed text is lowercase, but the link to the tiddler itself is passed as uppercase. The macro I'm now using returns the tiddler name as it is, which I default to naming them all uppercase. However, in the body text I want them to appear as lowercase. I'd like this to become a toggleable option in the macro, such as... <<defn-link "tiddler-name" case="lower">> ...and defaulting to whatever the tiddler title is if *case* isn't specified in the macro call. Thanks again for the help, Hegart. On Sunday, September 20, 2015 at 7:47:28 PM UTC+12, Tobias Beer wrote: > > Hi Hegart, > > >> I guess there must be some way to make this macro accessible globally >> within my wiki, by moving the macro definition into a new tiddler named >> something like $:/_Macros/defn-link or something. Is that all I'd need >> to do to make it globally accessible to other tiddlers within my wiki? >> > > Macro Definitions in WikiText > <http://tiddlywiki.com/static/Macro%2520Definitions%2520in%2520WikiText.html> > > I guess that doc tiddler would benefit from the words "global macro". > > - tb > -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8801d766-96c8-4348-a742-44bb33f36fc6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

