October 28, 2003
MarkBernstein.org
 

More on Macros

Experimenting with macros suggests some interesting little tricks. For example, the little "badges" I use to tell people about RSS feeds and such look like pictures but they're actually complex little bits of stylesheet magic. Here's an example:

XML

This used to be done by typing a long and messy bit of magic HTML, but now all I need to do is type a macro

^do(badge,XML,"news.rss".....)

And Tinderbox does the rest.