> var out=... whatever you are already doing...;
> out=out.substr(0,1).toUpperCase()+out.substr(1);
Thank you very much for this, but I don't know where to put it. (I
know - I should have given more information the first time round.)
I have two possible methods that seem to work:
<script>
var plugins=window.store.getTaggedTiddlers('subconj');
var out=plugins.map(function(t) {
return store.getTiddlerSlice(t.title,'Conjunction')+' '
+store.getTiddlerSlice(t.title,'Subclause')+' '
+store.getTiddlerSlice(t.title,'Mainclause');
}).join('\n');
return out;
</script>
and:
<<forEachTiddler
where
'tiddler.tags.contains("subconj")'
write
'"<<tiddler [["+tiddler.title+"::Conjunction]]\>\> <<tiddler
[["+tiddler.title+"::Subclause]]\>\>, <<tiddler [["+tiddler.title
+"::Mainclause]]\>\>. \n"'
>>
--
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.