This is a test for CLA assistant
See - https://cla-assistant.io/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function boldTitlesToHeaders(headerSize) { | |
// headerSize = 2; | |
var headerStyle = p__getHeadingType(headerSize); | |
var doc = DocumentApp.getActiveDocument(); | |
var body = doc.getBody(); | |
var numParagraphs = body.getNumChildren(); | |
for (var i = 0; i < numParagraphs; i++) { | |
var element = body.getChild(i); |