Handlebars:
Template
{{person.firstname}} {{person.lastname}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{
  person: {
    firstname: "Yehuda",
    lastname: "Katz",
  },
}
Output
Yehuda Katz
最后更新: 1/11/2020, 3:46:21 PM