FYI if you're trying to learn about how to write plugins/macros here:
http://tiddlywiki.org/wiki/Dev:Custom_Macros
there's a part that has this code:
config.macros.foo.handler = function(place, macroName, params,
wikifier, paramString) {
var prms = paramString.parseParams(null, null, true);
var bar = getParam(prms, "key");
alert(bar);
};
I couldn't get it to work right, so I changed it to this:
config.macros.foo = {
handler: function(place, macroName, params, wikifier, paramString)
{
var prms = paramString.parseParams(null, null, true);
var bar = getParam(prms, "key");
alert(bar);
}
};
and <<foo key:"bar baz">> seemed to work with that. I know you're
supposed to be able to edit that site, but I'm not certain enough (as
I'm just learning) that the original wasn't meant to point out
something other than what I thought it was supposed to.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---