Hello, Eric, everyone,
Thanks to you, I've really gotten quite far w/my TW in a very short
time.
I have a lot of these glossary terms that I want to have as popups
throughout my text, and they're working fine with the following code
in a tiddler:
<<tiddler ShowPopup with: [[glosMediaProperty]] "media property"
"Click to show definition">>
-----------
But of course I want to streamline it (so I don't have to keep typing
"Click to show definition", etc.), and so am trying to define an alias
(in my SiteStartup tiddler, where I have other simple aliases working
fine, such as <<em>> for an em-dash; so I think I've got the
AliasPlugin working fine):
<<alias showgloss "\<\<tiddler ShowPopup with: "%0" "%1" "Click to
show definition"\>\>">>
|{{{<<showgloss [[glosMediaProperty]] "media property">>}}}|
<<showgloss [[glosMediaProperty]] "media property">>|
-------------
But the result I get (as shown in the output for the right table
column) makes it look like there's a problem with the quotes and
escaping of angle brackets; this is what the output looks like:
\<\<tiddler ShowPopup with: glosMediaProperty" media property Click to
show definition \>\>"
I see in the http://www.tiddlytools.com/#AliasPluginInfo about the
TiddlerSlice example that the brackets are escaped, and that class
wrapper curly braces are used. But when I tried to put in the curly
braces, I got an "error in macro <<alias>>" error when it rendered.
Thanks for taking a look,
-Monique
--
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.