Thanks Eric
This is a good script - and I will find some use for it.
What I need though is a wikified rendition of the transposed list +
the doubled square-brackets..
Can i somehow make the list appear formatted as {{codetext}} ?
I need to be able to copy the result into the tagfield as tagnames +
the doubled square-brackets.YS Måns Mårtensson On 11 Apr., 05:01, Eric Shulman <[email protected]> wrote: > > Yes - exactly - a list of names : > > Transposed to a row of wikilinks: > > if 't' contains the input text (i.e., one name per line), then the > following javascript expression will split it into separate lines and > then rejoin it using doubled square-brackets: > > '[['+t.split('\n').join(']] [[')+']]' > > To use this in TiddlyWiki, you could copy/paste the input text into a > tiddler (e.g., "SomeTiddler"), and then invoke the following inline > scripting to read the multi-line input and render it as a line of > links: > > <script> > var t=store.getTiddlerText('SomeTiddler',''); > return '[['+t.split('\n').join(']] [[')+']]'; > </script> > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

