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

20 lines
903 B
Python

a = '''
{{ before detection }}
{# jinja comment #}
{{ after detection }}
'''
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.multi.python
{{ : constant.character.format.placeholder.other.python, meta.format.brace.python, source.python, string.quoted.multi.python
before detection : source.python, string.quoted.multi.python
}} : constant.character.format.placeholder.other.python, meta.format.brace.python, source.python, string.quoted.multi.python
{# jinja comment #} : source.python, string.quoted.multi.python
{{ after detection }} : source.python, string.quoted.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.multi.python