I have a long snippet of HTML I want some javascript variable to equal and for maintainability I want to store it with actual newlines instead of adding \n (or as it is HTML just omitting newline characters). In Python I would do something like:
largeString = """Hello
This is long!"""
And that would work perfectly. However, I haven't seen a way to do this in JavaScript.
Some additional information: the javascript is in an external .js file and the snippet really is quite huge (~6kb).