solorice/vscodium/extensions/magicstack.magicpython-1.1.1/test/strings/format12.py
2022-04-28 21:17:01 +03:00

18 lines
1.1 KiB
Python

a = R'$\frac{m_{j \%srightarrow i}(\mathrm{%sgood})}{\su%m{m_{j \rightarrow i}}}$'
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
R : source.python, storage.type.string.python, string.quoted.raw.single.python
' : punctuation.definition.string.begin.python, source.python, string.quoted.raw.single.python
$\frac : source.python, string.quoted.raw.single.python
{m_{j \ : source.python, string.quoted.raw.single.python
%s : constant.character.format.placeholder.other.python, meta.format.percent.python, source.python, string.quoted.raw.single.python
rightarrow i}(\mathrm{ : source.python, string.quoted.raw.single.python
%s : constant.character.format.placeholder.other.python, meta.format.percent.python, source.python, string.quoted.raw.single.python
good})}{\su%m{m_{j \rightarrow i}}}$ : source.python, string.quoted.raw.single.python
' : punctuation.definition.string.end.python, source.python, string.quoted.raw.single.python