Skip to content

Commit 7af2ebb

Browse files
committed
Update md grammar
1 parent abb946c commit 7af2ebb

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

extensions/markdown-basics/syntaxes/markdown.tmLanguage.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/d64818b45a51ad281d0eececa06fccb8c3767fe4",
7+
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/eb3898715b50d7911377a650e383a768a3a21f25",
88
"name": "Markdown",
99
"scopeName": "text.html.markdown",
1010
"patterns": [
@@ -122,7 +122,7 @@
122122
"contentName": "meta.embedded.block.html",
123123
"patterns": [
124124
{
125-
"include": "text.html.derivative"
125+
"include": "text.html.basic"
126126
}
127127
]
128128
}
@@ -386,7 +386,7 @@
386386
"contentName": "meta.embedded.block.php",
387387
"patterns": [
388388
{
389-
"include": "text.html.derivative"
389+
"include": "text.html.basic"
390390
},
391391
{
392392
"include": "source.php"
@@ -1855,12 +1855,12 @@
18551855
"name": "markup.fenced_code.block.markdown"
18561856
},
18571857
"heading": {
1858-
"match": "(?:^|\\G)[ ]{0,3}((#{1,6})\\s*(?=[\\S[^#]]).*?\\s*(#{1,6})?)$\\n?",
1858+
"match": "(?:^|\\G)[ ]{0,3}((#{1,6})\\s+(?=[\\S[^#]]).*?\\s*(#{1,6})?)$\\n?",
18591859
"captures": {
18601860
"1": {
18611861
"patterns": [
18621862
{
1863-
"match": "(#{6})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
1863+
"match": "(#{6})\\s+(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
18641864
"name": "heading.6.markdown",
18651865
"captures": {
18661866
"1": {
@@ -1875,7 +1875,7 @@
18751875
}
18761876
},
18771877
{
1878-
"match": "(#{5})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
1878+
"match": "(#{5})\\s+(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
18791879
"name": "heading.5.markdown",
18801880
"captures": {
18811881
"1": {
@@ -1890,7 +1890,7 @@
18901890
}
18911891
},
18921892
{
1893-
"match": "(#{4})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
1893+
"match": "(#{4})\\s+(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
18941894
"name": "heading.4.markdown",
18951895
"captures": {
18961896
"1": {
@@ -1905,7 +1905,7 @@
19051905
}
19061906
},
19071907
{
1908-
"match": "(#{3})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
1908+
"match": "(#{3})\\s+(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
19091909
"name": "heading.3.markdown",
19101910
"captures": {
19111911
"1": {
@@ -1920,7 +1920,7 @@
19201920
}
19211921
},
19221922
{
1923-
"match": "(#{2})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
1923+
"match": "(#{2})\\s+(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
19241924
"name": "heading.2.markdown",
19251925
"captures": {
19261926
"1": {
@@ -1935,7 +1935,7 @@
19351935
}
19361936
},
19371937
{
1938-
"match": "(#{1})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
1938+
"match": "(#{1})\\s+(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
19391939
"name": "heading.1.markdown",
19401940
"captures": {
19411941
"1": {
@@ -2023,7 +2023,7 @@
20232023
]
20242024
},
20252025
{
2026-
"begin": "(?i)(^|\\G)\\s*(?=</?[a-zA-Z]+[^\\s/>]*(\\s|$|/?>))",
2026+
"begin": "(?i)(^|\\G)\\s*(?=</?[a-zA-Z]+[^\\s/&gt;]*(\\s|$|/?>))",
20272027
"patterns": [
20282028
{
20292029
"include": "text.html.derivative"

0 commit comments

Comments
 (0)