[tw] Re: format tiddler macro output?

2013-06-19 Thread Mat
A big thank you Mark S! This has actually been a problem for many years for me, but you solved it!!! For anyone less advanced (like myself) reading this, I use this inside a forEachTiddler to list tiddlers titles but also their contents on the line below. The problem has been that no content

[tw] Re: format tiddler macro output?

2013-06-18 Thread Mark S.
If you're trying to process a single line, and not use a plugin like InlineJavascriptPlugin, then what you can do is: 1) In your generating (display) tiddler, put: tiddler echoTiddler with: {{ var stuff=store.getTiddlerText('test2'); stuff ? **+stuff.split(\n).join(\n**) : ; }} 2)

[tw] Re: format tiddler macro output?

2013-06-18 Thread Mark S.
Take 2. You can make it even easier to use by creating a tiddler bulletShooter with these contents: tiddler echoTiddler with: {{ var stuff=store.getTiddlerText('$1'); stuff ? $2+stuff.split(\n).join(\n$2) : ; }} Also make the echoTiddler described previously. Now you can call