Folks,
I am exploring a way to make use of parameter $param$
and variable $(varname)$
substitution to create a “form”. This is a little “blue sky” research of a “proof of concept” for a larger idea so wondering if anyone can see a way forward.
This easy to do inside a macro;
\define macroname(param)
$param$ went to $(varname)$.
Regards $(othervar)$
\end
<<macroname "I">>
- Note how you must define and call the macro all in a tiddlers text field. Of course you can do this in a global macro (a tiddler tagged $:/tags/Macro) but this too still needs the define.
I am wondering if there is way we could have a tiddler/text field contain only the text such as follows;
$param$ went to $(varname)$.
Regards $(othervar)$
- Then the above can be used in a macro
- However there seems no way to transclude a text field into a macro, defined elsewhere, that the substitutions still work.
- It seems the substitution occurs before transclusions - understandable, but is there a way to force substitutions after transclusion?
Any tips, tricks, hacks or even guesses appreciated.