Skip to content

Commit d73050c

Browse files
committed
Update the TextMate grammar
Closes #483
1 parent 77aac66 commit d73050c

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.changeset/tiny-geese-watch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vscode-mdx': patch
3+
---
4+
5+
Update the TextMate grammar

packages/vscode-mdx/syntaxes/source.mdx.tmLanguage

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Once accepted there, it can be pulled into this project (`vscode-mdx`) with
88
`script/generate.mjs`, and released.
99
10-
Version from SHA: 5caa71e2bbddea59b27c6a5a346881cd10fa0f5f.
10+
Version from SHA: c78b1e5df644d24fa76716bbe26f4b48a6fc1610.
1111
-->
1212
<dict>
1313
<key>fileTypes</key>
@@ -927,7 +927,7 @@
927927
<key>match</key>
928928
<string>(?:^|\G)[\t ]*(#{3}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
929929
<key>name</key>
930-
<string>markup.heading.atx.2.mdx</string>
930+
<string>markup.heading.atx.3.mdx</string>
931931
<key>captures</key>
932932
<dict>
933933
<key>1</key>
@@ -958,7 +958,7 @@
958958
<key>match</key>
959959
<string>(?:^|\G)[\t ]*(#{4}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
960960
<key>name</key>
961-
<string>markup.heading.atx.2.mdx</string>
961+
<string>markup.heading.atx.4.mdx</string>
962962
<key>captures</key>
963963
<dict>
964964
<key>1</key>
@@ -989,7 +989,7 @@
989989
<key>match</key>
990990
<string>(?:^|\G)[\t ]*(#{5}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
991991
<key>name</key>
992-
<string>markup.heading.atx.2.mdx</string>
992+
<string>markup.heading.atx.5.mdx</string>
993993
<key>captures</key>
994994
<dict>
995995
<key>1</key>
@@ -1020,7 +1020,7 @@
10201020
<key>match</key>
10211021
<string>(?:^|\G)[\t ]*(#{6}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
10221022
<key>name</key>
1023-
<string>markup.heading.atx.2.mdx</string>
1023+
<string>markup.heading.atx.6.mdx</string>
10241024
<key>captures</key>
10251025
<dict>
10261026
<key>1</key>

0 commit comments

Comments
 (0)