es6 multiline template strings with no new lines and allow indents
<p>Been using es6 more and more for most work these days. One caveat is template strings.</p>

<p>I like to limit my line character count to 80. So if I need to concatenate a long string, it works fine because concatenation can be multiple lines like this:</p>

<pre><code>const insert = 'dog';
const str = 'a really long ' + insert + ' can be a great asset for ' +
  insert + ' when it is a ' + dog;
</code></pre>

<p>However, trying to do that with template literals would just give you a multi-line string with ${insert} placing dog in the resulting string. Not ideal when you want to use template literals for things like url assembly, etc.</p>

<p>I haven't yet found a good way to maintain my line character limit and still use long template literals. Anyone have some ideas?</p>

<p>The other question that is marked as an accepted is only a partial answer. Below is another problem with template literals that I forgot to include before.</p>

<p>The problem with using new line characters is that it doesn't allow for indentation without inserting spaces into the final string. i.e.</p>

<pre><code>const insert = 'dog';
const str = `a really long ${insert} can be a great asset for\
  ${insert} when it is a ${insert}`;
</code></pre>

<p>The resulting string looks like this:</p>

<pre><code>a really long dog can be a great asset for  dog when it is a dog
</code></pre>

<p>Overall this is a minor issue but would be interesting if there was a fix to allow multiline indenting.</p>