Google Apps Script - Convert HTML with styling to PDF and attach to an email - Create a PDF blob from HTML
问题 I would like the HTML from a Google Apps Script form, to get two different styles, one for the body of the email and another for the PDF file. Current code: function doGet(request) { return HtmlService.createTemplateFromFile('index') .evaluate();//not all caps but it has to match the name of the file and it doesn't - Change to PAGE } function include(filename) { return HtmlService.createHtmlOutputFromFile(filename) .getContent(); } /****** SHEET ****/ function userClicked(userInfo){ var url =