For example, the following ReScript does not compile:
%%raw(`
const s = 'world';
const msg = `Hello ${s}!`;
console.log(s);
`)
The ReScript compiler (10.0.1) errors out at the backtick before Hello:
Syntax error!
3 | const msg = `Hello ${s}!`;
consecutive statements on a line must be separated by ';' or a newline
This is being worked on, but you should be able to replace the outer backticks with double quotes:
playground: https://rescript-lang.org/try?code=KTBOEMHcAoCICgDGB7AdgZwC4AJ3YLzYDkkyoANgCZEDcSaW2AtugOYHYAGAEgKbnlk2ACQBvdAF8AhJzooMycrwB0g1tBasAlHVhagA