18 Apr 2016 - by 'Maurits van der Schee'
Enter your template in the "input" field and press the "precompile" button. The result can be stored in a "var template = Handlebars.template(<insert output here>);" way and be executed by calling it as a function with the JSON data as an argument. You simply execute "var html = template(<insert json data here>);" to generate the HTML.
Enter your valid JSON data in the "data" field and press the "execute" button. The generated HTML will appear in the "rendered" field.
Compiled Handlebars templates are much faster than non-compiled templates as compiling is a very expensive part of templating.
NB: Normally precompilation is done using "nodejs" and the "handlebars" node package as you can read in the Handlebars documentation.