19th June 2024 at 9:07pm
how declared | behaviour |
---|---|
\define | Textual substitution of parameters is performed on the body text. No further processing takes place. The result after textual substitution is used as the attribute's value |
$set , $let , $vars , \procedure, \widget | Body text is retrieved as-is and used as the attribute's value. |
\function | When a function (e.g. .myfun ) is invoked as <div class=<<.myfun>>/> , it is a synonym for <div class={{{[function[.myfun]]}}}/> . As with any filtered transclusion (i.e. triple curly braces), all results except the first are discarded. That first result is used as the attribute's value. Note that functions are recursively processed even when invoked in this form. In other words a filter expression in a function can invoke another function and the processing will continue |