<ol dir="auto">
<li>Create a new JS file in a project set to ES6</li>
<li>Add the following code<br>
var mytext = <code class="notranslate">some ES6 \'text\'</code>;<br>
// this comment is brown<br>
console.log('the console log is brown but this string inside it is coloured!');</li>
</ol>
<p dir="auto">You will see that everything after the first ' is brown. I am aware that there is no need to use the backslash to escape the ' character, but as far as I am aware it is also not invalid javascript. And if it is invalid, I would expect some other kind of error to indicate that it is invalid.</p>
<p dir="auto">Right now, those keywords like <code class="notranslate">import</code> <code class="notranslate">class</code> <code class="notranslate">from</code> are all plain white.</p>