Skip to content

Instantly share code, notes, and snippets.

View djsudduth's full-sized avatar

Don Sudduth djsudduth

View GitHub Profile
@djsudduth
djsudduth / Google Keep to Docs Headers
Last active September 6, 2024 20:13
Google Apps Script to convert exported Google Keep note titles to headers
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);
@djsudduth
djsudduth / cla-snippet.md
Created November 1, 2019 15:20
Test gist for CLAs