実際のところ
一旦変数tmpにHTMLテンプレートデータを打ち込むサンプルは以下の通り。
var template = HtmlService.createTemplate('<?= foo ?>'); template.foo = 'Hello World!'; var tmp = template.evaluate().getContent()
一旦変数tmpにHTMLテンプレートデータを打ち込むサンプルは以下の通り。
var template = HtmlService.createTemplate('<?= foo ?>'); template.foo = 'Hello World!'; var tmp = template.evaluate().getContent()