Skip to content

Commit 98847dd

Browse files
committed
Syntax: More lazy latex tests
Avoid issues with upcoming core LaTeX syntax changes
1 parent c34a1e6 commit 98847dd

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

tests/syntax_test_markdown.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8579,21 +8579,21 @@ $$
85798579
foo = 1 + 2 * \sqrt{a^2+b^2}
85808580
| <- markup.math.block.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar variable.other.math
85818581
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^ markup.math.block.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar
8582-
| ^ keyword.operator.math
8583-
| ^ constant.numeric.math
8584-
| ^ keyword.operator.math
8585-
| ^ constant.numeric.math
8586-
| ^ keyword.operator.math
8582+
| ^ keyword.operator
8583+
| ^ constant.numeric
8584+
| ^ keyword.operator
8585+
| ^ constant.numeric
8586+
| ^ keyword.operator
85878587
| ^^^^^ support.function.math
85888588
| ^^^^^^^^^ meta.group.brace
85898589
| ^ punctuation.definition.group.brace.begin
85908590
| ^ variable.other.math
8591-
| ^ keyword.operator.math
8592-
| ^ constant.numeric.math
8593-
| ^ keyword.operator.math
8591+
| ^ keyword.operator
8592+
| ^ constant.numeric
8593+
| ^ keyword.operator
85948594
| ^ variable.other.math
8595-
| ^ keyword.operator.math
8596-
| ^ constant.numeric.math
8595+
| ^ keyword.operator
8596+
| ^ constant.numeric
85978597
| ^ punctuation.definition.group.brace.end
85988598
$$
85998599
| <- markup.math.block.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar punctuation.definition.math.end
@@ -8711,9 +8711,9 @@ Math $1+1$ setext heading
87118711
This is math $1+1$ expression, but $ 1+1 $ ,$ 1+1$, $1+1 $ and 1+1$ or $1+1 are not.
87128712
| ^^^^^ meta.paragraph.markdown markup.math.inline.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar
87138713
| ^ punctuation.definition.math.begin
8714-
| ^ constant.numeric.math
8715-
| ^ keyword.operator.math
8716-
| ^ constant.numeric.math
8714+
| ^ constant.numeric
8715+
| ^ keyword.operator
8716+
| ^ constant.numeric
87178717
| ^ punctuation.definition.math.end
87188718
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.paragraph.markdown - markup.math
87198719

0 commit comments

Comments
 (0)