NOTE: although the problem is solved, TiddlyWiki documentation needs improvement regarding the import pragma (circumstances which require the import pragma.)
This should probably be either fixed or documented (or documentation made easier to find if already existing.)
Download the attached and drag into some TiddlyWiki instance.
Take a look at:
- The “Hello World Macro” tiddler
- The “Hello World Macro Call” tiddler to see the results ot the macro call and (for later sanity check) the “now” macro call
- The “HW Viewer Open Button” tiddler with a button to open “Some Tiddler” in a new window, using “Hello World Macro Call” as the template
- The “Some Tiddler” tiddler
Press the button and we see that the macro reference does not happen. The “now” macro reference works A-1.
This shows a scenario in case custom-created macros will not work.
For my “meaty” use case scenario, I’ve decided best to not use macros and instead stick to transclusions.
Does anybody have a workaround to get the macro working in the scenario here?
Regardless, there should be some heads-up documentation (o rmore noticeable documentation) that warms about the problem with this scrnario.
Macro_Failure_Scenario.json (719 Bytes)