I am trying to create a pdf file from the existing html (after populating parameters from google app script). I have tried the following code:
var htmlBody=htmlOutput.evaluate().getContent();
var blob = Utilities.newBlob(htmlBody, MimeType.HTML, name).getAs(MimeType.PDF);
Bootstrap classes and css formatting is lost while converting to pdf.