Description


Render a tiddler's contents and attributes to some form, usually, but not always, HTML.

Parameters


Returns


Example


    tiddler = Tiddler('hello')
    tiddler.text = '!Hello'
    html = wikitext.render_wikitext(tiddler, environ)


Notes


The environ is used to determine what renderer to use based on wikitext.type_render_map and wikitext.default_renderer in tiddlyweb.config. type_render_map is a mapping of MIME-types (or psuedo-MIME-types) to renderer code. If the provided tiddler has the type attribute set, and it is in this map, that renderer will be used. Otherwise the renderer in default_renderer is used.