> 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
-~----------~----~----~----~------~----~------~--~---