Thanks for your explanations. I didn't explain my problem well enough,
though you've answered my question well enough for me to know that
what I'm seeking isn't possible.

For the record, I'll explain it again in more detail. I've developed
an <<infoBox>> macro to show mediawiki-like info boxes. The tiddlywiki
author writes:

<<infoBox type:warning>>

and the macro then looks up a tiddler called "warningInfoBox", which
contains some slices:

|message|Please follow these instructions carefully.|
|icon|http://example.com/warning.png|

The above model is simple, but in some cases, the user might want:

|icon|data:blahblahblahgarbagegarbage....|

which works just as well (in modern browsers), but the warningInfoBox
tiddler containing these slices becomes unwieldy. An alternative would
ideally be:

|icon|<<tiddler stopIcon>>|

with "stopIcon" tiddler populated with the whole data URI string,
nicely isolating it away, and in a way that's very intuitive for any
user familiar with <<tiddler>>. To allow for this indirection, my code
would simply run wikifyStatic() on the slice value.

However, the indirection fails because of the <span> wrapper. It's not
a big deal. I suppose one solution would be a boolean "raw" parameter
for the tiddler macro, but then again asking the user to use
"raw:true" is defeating the purpose of simplicity anyway.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to