visual-studio-code icon indicating copy to clipboard operation
visual-studio-code copied to clipboard

Python: wrong highlighting of math text in raw strings

Open paprikman opened this issue 4 years ago • 0 comments

The issue is related to the use of so-called "math text" in matplotlib. Namely, when you try to input some TeX code inside a raw string, it considers backslashed commands as an escaped symbol.

Below are the examples (see lines 9 and 11 in the screenshots).

Dracula v2.24.0 image

Nord v0.19.0 image

Atom One Dark v2.2.3 image

TIA

paprikman avatar Dec 01 '21 07:12 paprikman