Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.
HTMLTemplatePreviewMacro
TiddlyWiki Community Wiki
| Name: | HTMLTemplatePreviewMacro |
| Author : | jayfresh |
| URL : | #HTMLTemplatePreviewMacro |
| Description : | Adds an IFrame in place and renders a template into the IFrame |
| Version : | 0.2 |
- CodeRepository: http://svn.tiddlywiki.org/Trunk/contributors/JonathanLister/plugins/HTMLTemplatePreviewMacro.js
- License: BSDLicense
- TiddlyWiki CoreVersion: 2.3
HTMLTemplatePreviewMacro provides you with the following macro:
- HTMLTemplatePreview - depends on IFramePlugin, TemplatePlugin
[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.

