Try Handlebars is a web tool I made to help preview Handlebars.js templates easily in the browser.
This site was built quickly on top of HTML5 Boilerplate.
How does it work?
All of the example templates and contexts are stored in the index.html file as different script blocks. When you select a template it populates the textareas. They are eval'd when you click compile and HTML output is displayed in the output textarea. An html preview is also displayed inline but I will probably remove that.
- Fork the repo
- Install jspm if needed
npm install jspm -g
- You'll need to run a simple web server to support xhr requests. I recommend https://github.com/indexzero/http-server
- Do not commit build artifacts (node_modules, components, etc)
- Submit pull request (please rebase your changes into one commit)