Hi Julio
...
> |!Word Count |<<tiddler TiddlerProperties##Count with:{{tiddler.title}}>> |
....
> !Count
> <html><span style="color:#db4;" macro='wordCount'></span></html>
> !end
> %/
>
> Some little glitch where it doesn't always appear unless I go into
> edit/ close/ done on random tiddlers.
> (thinking out loud here): The transclusion is definitely working, but
> somehow it's not refreshing adequately.
> I'll keep on hacking at it...
You changed the macros into HTML and removed the substitution marker
($1).
When you removed the substitution marker the {{tiddler.title}} part of
the tiddler macro call doesn't get evaluated in the wordcount macro
any more - You might as well delete it and just write:
<html><span style="color:#db4;" macro='wordCount'></span></html>
(Sometimes - when opened in tabs or sliders html-wrapped macros aren't
rendered as they should)
If the wordCount macro will render properly as normal wiki syntax ie:
@@color:#db4;<<macro wordCount $1>>@@ (getting the substitution marker
back into play)
Example:
|!Word Count |<<tiddler TiddlerProperties##Count with:{{tiddler.title}}
>> |
..../%
!Count
@@color:#db4;<<wordCount $1>>@@
!end
%/
- not tested
Cheers Måns Mårtensson
--
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.