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
最后更新: 1/11/2020, 3:46:21 PM