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.

Ltc:TwoWaysToConcatenate

18th August 2021 at 7:50am

You could also use a $wikify widget, as explained in Wikification:

<$tiddler tiddler="Constant strings cannot be combined with transclusions">
  <$wikify name="myImageName" text="{{!!title}}.png">
    <$image source=<<myImageName>>/>
  </$wikify>
</$tiddler>

This works because TiddlyWiki acts like {{!!title}}.png is directly within the text of a tiddler when you use the $wikify widget, and as we'll see in another example further along in the section, putting a transclusion adjacent to constant text works fine in running text.

However, the $wikify widget unnecessarily complicates things here, and it tends to be slower than solutions that don't use it, so it's not normally a good solution for simple problems like this one.