How to Create JavaScript Multiline String Literals (Template Literals)

OK, truth time. I don’t remember the exact reason why I use this method, but I remember that I used to use the other method you mentioned (the non-template method), and something about it wasn’t the way I wanted it to be. If I had to guess, my guess would be that Atom auto-formatted it poorly.

But, as to editing, I would almost never edit an action or group’s plist manually (there’s an exception to this, but that’s for another time and place). I always start with the actual action or group, translate that into a plist, then run the plist through my macro to make a string.

So, while I’d certainly change something minor, like a string of some sort, I’d never do any real editing to the string. And that, if you’ve read this far, is the reason I don’t care how which method I use, because I always generate the string.

Glad you asked? :wink: