JSFiddle - React, Tailwind, and code Playground
by craigm
HTML
<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script>
JavaScript
_.templateSettings = {
interpolate: /\{\{(.+?)\}\}/g,
evaluate: /\[\[(.+?)\]\]/g
};
var template = _.template("{{name}} [[ print(10+5); ]]");
console.log(template({name: 'Joe'}));