This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.

Ex:MacroAdjacency/answer

21st November 2020 at 6:04pm

You get:

https://en.wikipedia.org/wiki/Aardvark

The reason this doesn't work is somewhat technical, but essentially, when TiddlyWiki is reading your wikitext and figuring out what output to produce, it processes the value of the variable in isolation, without its surrounding context. First, it looks at the contents of the variable wikipedia and sees that there's a complete link within it, so it displays the link. Then it comes back to processing the rest of the tiddler, where it sees the text Aardvark, so it displays that text. It never looks at them together, the way you might with your sensible human eyes, so it never realizes this could form one link. We'll discuss this in detail in Text Substitution.

This applies not only to variables but also to macros (and transclusions, when we get to those).

Go to question: Ex:MacroAdjacency