You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the closing backtick is in positions as in examples (2) and (3) below, code highlighting is disabled for the remaining TypeScript in the file.
Code highlighting for all subsequent strings becomes Markdown, even if not marked
Interestingly in the final example, the two incorrectly highlighted strings are also highlighted differently (one orange, one blue and italic). I didn't repro that separately from this issue though.
Expected
Code highlighting for TypeScript outside of strings should not be affected.
Example 1 (ok)
Example 2 (backtick at end of line - broken)
Example 3 (backtick after space - broken)
Example 4 (subsequent strings are incorrectly, and differently, highlighted as MD)
The text was updated successfully, but these errors were encountered:
Version: 3.0.10
Repro steps
Result
Expected
Code highlighting for TypeScript outside of strings should not be affected.
Example 1 (ok)
Example 2 (backtick at end of line - broken)
Example 3 (backtick after space - broken)
Example 4 (subsequent strings are incorrectly, and differently, highlighted as MD)
The text was updated successfully, but these errors were encountered: