1. Trunklet Overview
2. Template specification
Trunklet-format templates use the same general rules as the format() function, except that parameters in the template are named and positions are not supported. Currently widths are not supported either; they are a TODO. The specification is:
parameter_name can be any string, but may not contain a line break or a %.
type must be one of s, I or L. They operate as specified in the format() documentation.
3. Parameter specification
Parameters are specified as a JSON object containing key/value pairs. (Eventually it may accept an array of pairs). The JSON type for each value must be string, number, boolean or null. The value of each key will be cast to text, formatted via format() and then used to replace each occurrence of the parameter in the template.
Copyright (c) 2015 Jim C. Nasby.