Built-in (export) Templates

Tinderbox Icon

New to v5.10.0, a method for adding export templates follows that for built-in Prototypes. A File menu item displays a sub-menu of built-in export templates that can be added to the current document.

Note, somewhat confusingly these are a completely different set of templates from those built into Tinderbox itself for default previewing of code.

If none already exists, a root-level container 'Templates' is added. Also the built-in prototype 'HTML Template' is added to the existing built-in Prototypes container or the latter container is also added. If a 'Templates' and/or 'Prototypes' container exists these are used for any newly added notes instead of creating new containers.

The offered templates are:

v5.10.2 made small changes to the templates to make child template assignments by just template name rather than path allowing for more flexible use.

Once templates are added the user can modify the template code. The container.

The 'Templates' container's $OnAdd is set to $IsTemplate = true.


Possible relevant notes (via "Similar Notes" feature):

Up: Misc. User Interface Aspects
Previous: Blind typing in view window  Next: Built-in Prototypes 

A Tinderbox Reference File : Misc. User Interface Aspects : Built-in (export) Templates

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox