Google Apps Script to prettify ArchieML formatted docs.
Fair warning, Google Apps Scripts is a terrible development environment. These instructions are tedious and must be done for every doc you want to format.
- Open the Google Doc you want to prettify and under the
Tools
menu select theScripts editor
option.
- This will open up a new window for a Google Apps Script Project.
- Click the
Untitled project
name in the upper left and rename your project ArchieML.
- Copy the code from the
prettifyArchieML.gs
file in this repo and use it to replace the code in yourCode.gs
file in the Apps Script Editor.
-
Save the project and close the Apps Script window.
-
Go back to your document and refresh the page. Under
Add-ons
you'll now see aArchieML
option. Click on any of the options.
- Follow the dialogue to authorize the app. (You'll be warned the app isn't verified, but nevermind.)
- Once you've authorized the script, you can now use the Add-on options.