Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🪙 tokensInTemplate

very simple Google Apps Script function to replace text inside HTML template

Usage

Copy this function to your Google Apps Script project, then create a simple HTML template.

You can use it like

  tokensInTemplate('name_of_your_html_template_without_.html',{token1Name: token1Value, token2Name: token2Value ... });

Due to a Google Apps Script Bug, you can't use this function inside a library, so you must copy all the code inside your script and execute from here.

More info here StackOverflow (see comment 2 from Tanaike)

About

very simple Google Apps Script function to replace text inside HTML template

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages