From 9beb25d385c34417709a9e422b14204318ec46ba Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Fri, 17 Dec 2021 23:25:58 -0800 Subject: [PATCH] Add whitespace in the help message GAS dialogs ignore leading whitespace so this improves code readability --- Code.gs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Code.gs b/Code.gs index 2503450..be103d2 100644 --- a/Code.gs +++ b/Code.gs @@ -18,17 +18,17 @@ function showHelp() { const helpMessage = `Welcome to sheets-db! -USAGE: -- Edit the data on this workbook like you would on any other Google Sheet, noting KEY ASSUMPTIONS below. -- When ready, press the "🟢 Start" button to generate a SQLite database from the data on this workbook! + USAGE: + - Edit the data on this workbook like you would on any other Google Sheet, noting KEY ASSUMPTIONS below. + - When ready, press the "🟢 Start" button to generate a SQLite database from the data on this workbook! -KEY ASSUMPTIONS: -- Each tab in this workbook is a data table -- The first row specifies the SQLite data type for the column (i.e. it is not part of the dataset) -- The second row is a header row (i.e. it is not part of the dataset) -- Every other row is part of the dataset -- All dataset values are valid -- There are no empty rows or empty columns`; + KEY ASSUMPTIONS: + - Each tab in this workbook is a data table + - The first row specifies the SQLite data type for the column (i.e. it is not part of the dataset) + - The second row is a header row (i.e. it is not part of the dataset) + - Every other row is part of the dataset + - All dataset values are valid + - There are no empty rows or empty columns`; ui.alert('Help', helpMessage, ui.ButtonSet.OK); } -- 2.47.3