Screenshot of Google Doc text with hyperlink |
It makes use of 'setLinkUrl' when appending a paragraph of text.
docBody.appendParagraph('BBC news link').setLinkUrl('https://www.bbc.co.uk/news');
Google Doc - add hyperlink text.gs
I'm Phil Bainbridge and I aim to share my experiences of IT projects I've worked on as I continue to learn and develop, through this blog. My main coding language is Google Apps Script (with JavaScript), but there is also some: PowerShell, HTML, SQL and jQuery.
Screenshot of Google Doc text with hyperlink |
docBody.appendParagraph('BBC news link').setLinkUrl('https://www.bbc.co.uk/news');
No comments:
Post a Comment