I think both Macros and Macro Parsing are AMAZING in TiddlyWiki ...

Through trial and error I discovered you can *comment* inside \define. This 
works ...

*\define styleSVG(*

* ALL -----------*
*class-suf:'default'*
 
*ONE ----------- *
*svg:'$:/core/images/print-button'*
*size:'250px'*
*fill:'black'*
*fill-hover:'orange'*
*background:''*
*stroke-width:'3'*
*stroke:'orange'*
*stroke-hover:'black' *
*grid-class:"tt-grid-box"*
*grid-color:'blue'*
 
*MANY ----------*
* m-svg: '[all[tiddlers+shadows]prefix[$:/core/images]sort[title]]'*
* m-size:'40px'*
* m-fill:'black'*
* m-fill-hover:'brown'*
* m-background:''*
* m-stroke:'brown'*
* m-stroke-hover:'black' *
* m-stroke-width:'3' *
* m-grid-class:''*
* m-grid-color:'' *
*)*

I am NOT recommending using sectioning like* "ALL ---------" *in  
production wiki. Merely commenting that the TW Macro parser is VERY 
forgiving.

For development wiki I think the behavior can be very helpful, especially 
when evolving complex macros.

Just a comment
TT 

-- 
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/8c3df6c9-010a-4c6e-a998-da2e8a6bc321n%40googlegroups.com.

Reply via email to