From: Ardis Lu Date: Sat, 18 Dec 2021 07:25:58 +0000 (-0800) Subject: Add whitespace in the help message X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=9beb25d385c34417709a9e422b14204318ec46ba;p=sheets-db Add whitespace in the help message GAS dialogs ignore leading whitespace so this improves code readability --- 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! - -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`; + 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`; ui.alert('Help', helpMessage, ui.ButtonSet.OK); }