ReSharper Ultimate 2016.3 introduces a new infrastructure for language injections in string literals, which enables ReSharper to treat particular string literal contents as a piece of code written in one of the supported programming languages: C# or ECMAScript regular expressions language, CSS, HTML, JSON or JavaScript.
You can inject a language into a string literal in one of the following ways.
Method 1: "Mark as injected language" context action
When you open the Alt+Enter menu on a string literal, you’ll see a "Mark as injected language" item. In the submenu, choose one of the sup