Handlebars:
Template
{{{{raw-loud}}}}
  {{bar}}
{{{{/raw-loud}}}}
Preparation-Script
Handlebars.registerHelper('raw-loud', function(options) {
    return options.fn().toUpperCase()
});
Input
null
Output
  {{BAR}}
最后更新: 2020/1/11 15:46:21