Handlebars:
Template
{{link people.text people.url}}
Preparation-Script
Handlebars.registerHelper("link", function(text, url) {
      var url = Handlebars.escapeExpression(url),
          text = Handlebars.escapeExpression(text)
          
     return new Handlebars.SafeString("<a href='" + url + "'>" + text +"</a>");
});
Input
{
  people: {
    firstname: "Yehuda",
    lastname: "Katz",
    url: "https://yehudakatz.com/",
    text: "See Website",
  },
}
Output
<a href='https://yehudakatz.com/'>See Website</a>
마지막 업데이트: 2024. 6. 5. 오후 11:37:24