Handlebars:
Template
{{> myPartial myOtherContext }}
myPartial
[rename] [delete]
{{information}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{
  myOtherContext: {
    information: "Interesting!",
  },
}
Output
Interesting!
最后更新: 2020/2/26 下午4:01:18