Template code Chunk output
 Earth to {$name}.  Come in, {$name}.
Theme theme = new Theme("examples");

// Fetch template from this file: themes/examples/hello.chtml
// Inside that file there is a template "snippet" named #example_1
Chunk html = theme.makeChunk("hello#example_1");

html.set("name", "Bob");

html.render( out );

// or, render to a string
String output = html.toString();
 Earth to Bob.  Come in, Bob.

Earth to Bob. Come in, Bob.