Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

HTMLTemplatePreviewMacro

TiddlyWiki Community Wiki

Jump to: navigation, search
Name: HTMLTemplatePreviewMacro
Author : jayfresh
URL : #HTMLTemplatePreviewMacro
Description : Adds an IFrame in place and renders a template into the IFrame
Version : 0.2


HTMLTemplatePreviewMacro provides you with the following macro:

[edit] Usage

<<HTMLTemplatePreview templateName>>

where "templateName" is the name of a tiddler containing the template to be rendered in the method described at TemplatePlugin.

[edit] Description

When displaying the results of templating operations in a tiddler, any styles that are set as part of the template output can interfere with the generating TiddlyWiki. A solution is to display the output in an IFrame and this macro enables that.

Personal tools