> I don't suppose you have some general-purpose plugin, that is run on
> every bit of TW markup before it gets evaluated, and replaces
> <customtag> by something else?

Hmmm.... nothing *yet*.... but I think it's an interesting idea...
perhaps as an enhancement to my AliasPlugin.  You could define a
special tiddler containing slices, where the slice name is the alias
and the slice value is the replacement text.

e.g., suppose you define [[Aliases]] to contain something like:
--------------------
|path|c:\path\prefix\|
|projectname|sometext|
--------------------
(i.e., a slice table with two entries, "path" and "projectname")

then, when a tiddler is about to be wikified(), the AliasPlugin code
could scan the tiddler source text for a unique marker sequence: %%
%markername%%% (e.g. %%%path%%%) and replace any matching markers with
their corresponding values, prior to rendering.

Does this sound like a reasonable usage for your purposes?

-e

-- 
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.

Reply via email to