The query editor when editing an app has an awesome feature that can format SQL into a pretty, canonical form.
I'm using a query builder component to write some SQL, and then displaying the resulting SQL in a text component. Is there a way that I can format that text output into the same pretty, canonical form? A Javascript method or library I can call, perhaps?