The getRecursiveTiddlerText method of a TiddlyWiki object returns the source code of a tiddler with links replaced with their contents. That is, if two tiddlers are defined like so:
'tiddler1'
'tiddler2'
executing
'tiddler1'
Hello, [[tiddler2]].
'tiddler2'
world
executing
getRecursiveTiddlerText('tiddler1', '', 1)
returns Hello world. This method expects three parameters in order:- the title of the tiddler to retrieve
- default text to return if the tiddler does not exist
- the maximum depth of links to follow