sstephenson / eco

Embedded CoffeeScript templates
MIT License
1.71k stars 70 forks source link

Change delimiters #5

Closed akidee closed 13 years ago

akidee commented 13 years ago

I want to be able to change delimiters - for example to a shorter version like <= >, <- > or mustaches - like in underscore.js: http://documentcloud.github.com/underscore/#template Is there an official way to do this?

sstephenson commented 13 years ago

Not currently. I agree it'd make a nice compile-time option. If you're interested in hacking on it, a good place to start would be lib/eco/scanner.coffee.