[Request] better linking via macros

This bites me all the time:

\define foobar(title:“default title”) [[$title$|A Tiddler Link]]

But this doesn’t work. I always forget and it takes me way too long to realize I have to do this instead:

\define foobar(title:“default title”) <$link to=“A Tiddler Link”>$title$</$link>

But this also means that external links don’t work because <$link> only handles tiddlers.

Then you have to remember this:

\define foobar(title:“default title”) <a href=“https://example.com”>$title$</a>

I wish there was a more ergonomic way to do this. Kind of like how Markdown does this:

lorem ipsum [foo title][1].

lorem ipsum [bar title][1].

[1]: …

Which can be either a tiddler or external.

Inside a depine, procedure and function you must use : not =. Test them again with this correction

Thanks. I guess it is working now. Never mind!