tinymist/syntaxes/textmate/tests/unit/math/math.typ.snap
Myriad-Dreamin 626efa0d78
feat: parse math parentheses after [_^\/√∛∜] (#1106)
* test: move math syntax highlight tests

* feat: parse math parentheses after `_` and `^`

* feat: all opening/closing kinds

* dev: more kinds
2025-01-04 02:22:27 +08:00

15 lines
No EOL
944 B
Text

>$\$$
#^ source.typst markup.math.typst punctuation.definition.string.math.typst
# ^^ source.typst markup.math.typst constant.character.escape.content.typst
# ^ source.typst markup.math.typst punctuation.definition.string.math.typst
>$ a #[$b$] $
#^ source.typst markup.math.typst punctuation.definition.string.math.typst
# ^^^ source.typst markup.math.typst
# ^ source.typst markup.math.typst keyword.control.hash.typst
# ^ source.typst markup.math.typst meta.brace.square.typst
# ^ source.typst markup.math.typst markup.math.typst punctuation.definition.string.math.typst
# ^ source.typst markup.math.typst markup.math.typst
# ^ source.typst markup.math.typst markup.math.typst punctuation.definition.string.math.typst
# ^ source.typst markup.math.typst meta.brace.square.typst
# ^ source.typst markup.math.typst
# ^ source.typst markup.math.typst punctuation.definition.string.math.typst