Skip to content

Commit

Permalink
Update the TextMate grammar
Browse files Browse the repository at this point in the history
Closes #483
  • Loading branch information
remcohaszing committed Dec 22, 2024
1 parent 77aac66 commit d73050c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-geese-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vscode-mdx': patch
---

Update the TextMate grammar
10 changes: 5 additions & 5 deletions packages/vscode-mdx/syntaxes/source.mdx.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Once accepted there, it can be pulled into this project (`vscode-mdx`) with
`script/generate.mjs`, and released.
Version from SHA: 5caa71e2bbddea59b27c6a5a346881cd10fa0f5f.
Version from SHA: c78b1e5df644d24fa76716bbe26f4b48a6fc1610.
-->
<dict>
<key>fileTypes</key>
Expand Down Expand Up @@ -927,7 +927,7 @@
<key>match</key>
<string>(?:^|\G)[\t ]*(#{3}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
<key>name</key>
<string>markup.heading.atx.2.mdx</string>
<string>markup.heading.atx.3.mdx</string>
<key>captures</key>
<dict>
<key>1</key>
Expand Down Expand Up @@ -958,7 +958,7 @@
<key>match</key>
<string>(?:^|\G)[\t ]*(#{4}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
<key>name</key>
<string>markup.heading.atx.2.mdx</string>
<string>markup.heading.atx.4.mdx</string>
<key>captures</key>
<dict>
<key>1</key>
Expand Down Expand Up @@ -989,7 +989,7 @@
<key>match</key>
<string>(?:^|\G)[\t ]*(#{5}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
<key>name</key>
<string>markup.heading.atx.2.mdx</string>
<string>markup.heading.atx.5.mdx</string>
<key>captures</key>
<dict>
<key>1</key>
Expand Down Expand Up @@ -1020,7 +1020,7 @@
<key>match</key>
<string>(?:^|\G)[\t ]*(#{6}(?!#))(?:[ \t]+([^\r\n]+?)(?:[ \t]+(#+?))?)?[ \t]*$</string>
<key>name</key>
<string>markup.heading.atx.2.mdx</string>
<string>markup.heading.atx.6.mdx</string>
<key>captures</key>
<dict>
<key>1</key>
Expand Down

0 comments on commit d73050c

Please sign in to comment.