Also,

An empty define of the form
\define name()
\end

or

\define name()

\end
Will cause problems

However
\define note() Note in macros
\define note()
Some notes
\end
Thus redefining, is the best option for in line comments.

Also there is now a new tag
SystemTag: $:/tags/Macro/View 
<https://tiddlywiki.com/#SystemTag%3A%20%24%3A%2Ftags%2FMacro%2FView>

The system tag <https://tiddlywiki.com/#SystemTags> $:/tags/Macro/View marks 
macros that are only made available within the main view templates and the 
preview panel.

Content after the last define is ignored when macros are accesses due to a 
tag

Regards
Tones

On Thursday, 17 September 2020 17:24:58 UTC+10, Felicia Crow wrote:
>
> Hi,
>
> yes as long as all the macros are defined at the beginning of the tiddler. 
> Empty lines to seperate the individual tiddlers work, but everything else 
> in between will trip tiddlywiki up and won't let it recognize the \define 
> following.
>
> Regards,
> Felicia
>
>
>
> On Thursday, 17 September 2020 08:47:22 UTC+2, Bob Jansen wrote:
>>
>> Can I define more than one macro in a tiddler and have them all available 
>> by tagging the tiddler with $:/tags/Macro or does it have to be one macro 
>> definition per tiddler?
>>
>> bobj
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/67c8e133-c3df-4560-9638-8c34ca21906fo%40googlegroups.com.

Reply via email to