Eric, Very Neat. Thanks a lot. Really like it. Will save a lot of work!
Alex 2009/3/9 Eric Shulman <[email protected]>: > >> My solution is to use inline scrips to write to each <<option >> txtValue>> into a tiddler using inline scripts. >> >> <script> >> document.write( >> config.options.txtMyUnit); >> </script> >> >> Then to transclude into the tiddler, adding highlights thus: >> @@<<tiddler txtValue>>@@ > > Try this: > http://www.TiddlyTools.com/#WikifyPlugin > > Provides the ability to calculate and render wiki-formatted content > derived from from slices, custom fields, config.options, etc. > > Syntax: > <<wikify formatstring value value value ...>> > > For your purposes, something like this should do: > <<wikify "@@%0@@" config.options.txtMyUnit>> > > The %0 is automatically replaced by the value from > config.options.txtMyUnit, and then rendered with the surrounding > @@..@@ highlighting. > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > > > > -- t: 0161 442 2202 m: 0781 372 50 17 skype: alexhough delicious: alexhough --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

