presentations/highlight-js/test/markup/cs/string-interpolation.expect.txt

10 lines
774 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
<span class="hljs-keyword">var</span> istr = <span class="hljs-string">$"{{Hello}},\n<span class="hljs-subst">{<span class="hljs-string">$"\"<span class="hljs-subst">{nested}</span>\""</span> + <span class="hljs-string">@" and "</span> + <span class="hljs-string">$@"""<span class="hljs-subst">{nested}</span>"""</span> <span class="hljs-comment">/*comments*/</span> }</span>"</span>;
<span class="hljs-keyword">var</span> ivstr = <span class="hljs-string">$@"{{Hello}},
<span class="hljs-subst">{
<span class="hljs-string">$"\"<span class="hljs-subst">{nested}</span>\""</span> + <span class="hljs-string">@"
and
"</span> + <span class="hljs-string">$@"
""<span class="hljs-subst">{nested}</span>""
"</span>
<span class="hljs-comment">/*comments*/</span> }</span>"</span>;