Open
Description
Current issue
JavaScript template literals inside a string look like regular text so they are harder to debug in case of errors.
The solution you'd like
In the example below, the Github syntax highlighter makes it easier for me to read the JavaScript template literal ${name}
inside the string.
console.log(`my name is ${name}`)
Alternatives you've considered
I looked at the syntax highlighter but haven't attempted to figure out if this feature can be added without needing to rewrite an entire syntax highlighter from scratch to be honest.
Feel free to close this issue if this feature is out of scope.
CotEditor version
5.1.1
macOS version
15.3.1
Additional context
No response