Handlebars:
Template
some_{{foo}}mustache
some_{{#foo}}abc{{/foo}}block
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{}
Output
some_mustache
some_block
最后更新: 2020/1/11 15:46:21