I've tried splitting it into two lines:
const templateString = `this is my template
string`
And I've also tried:
const templateString = `this is my template\n string`
But none of these work. The templateString
still comes out as one line. How do you create multi-line template string?
tag. Your first attempt is the correct one, if you add the
tag. – enf0rcer Mar 17 '18 at 12:29
` inside the template string worked. Thanks! – reectrix Mar 19 '18 at 19:12