Skip to content

Commit bfda914

Browse files
committed
Update md grammar
Fixes #microsoft#79478
1 parent e9b4a91 commit bfda914

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 12 additions & 12 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/05ccfa3db6edbd357390431f9e316adb38ba41d8",
7+
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/d64818b45a51ad281d0eececa06fccb8c3767fe4",
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.basic"
125+
"include": "text.html.derivative"
126126
}
127127
]
128128
}
@@ -386,7 +386,7 @@
386386
"contentName": "meta.embedded.block.php",
387387
"patterns": [
388388
{
389-
"include": "text.html.basic"
389+
"include": "text.html.derivative"
390390
},
391391
{
392392
"include": "source.php"
@@ -1993,7 +1993,7 @@
19931993
"1": {
19941994
"patterns": [
19951995
{
1996-
"include": "text.html.basic"
1996+
"include": "text.html.derivative"
19971997
}
19981998
]
19991999
},
@@ -2015,18 +2015,18 @@
20152015
"begin": "(\\s*|$)",
20162016
"patterns": [
20172017
{
2018-
"include": "text.html.basic"
2018+
"include": "text.html.derivative"
20192019
}
20202020
],
20212021
"while": "(?i)^(?!.*</(script|style|pre)>)"
20222022
}
20232023
]
20242024
},
20252025
{
2026-
"begin": "(?i)(^|\\G)\\s*(?=</?(address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(\\s|$|/?>))",
2026+
"begin": "(?i)(^|\\G)\\s*(?=</?[a-zA-Z]+[^\\s/>]*(\\s|$|/?>))",
20272027
"patterns": [
20282028
{
2029-
"include": "text.html.basic"
2029+
"include": "text.html.derivative"
20302030
}
20312031
],
20322032
"while": "^(?!\\s*$)"
@@ -2035,7 +2035,7 @@
20352035
"begin": "(^|\\G)\\s*(?=(<[a-zA-Z0-9\\-](/?>|\\s.*?>)|</[a-zA-Z0-9\\-]>)\\s*$)",
20362036
"patterns": [
20372037
{
2038-
"include": "text.html.basic"
2038+
"include": "text.html.derivative"
20392039
}
20402040
],
20412041
"while": "^(?!\\s*$)"
@@ -2095,7 +2095,7 @@
20952095
"include": "#inline"
20962096
},
20972097
{
2098-
"include": "text.html.basic"
2098+
"include": "text.html.derivative"
20992099
},
21002100
{
21012101
"include": "#heading-setext"
@@ -2152,7 +2152,7 @@
21522152
"include": "#inline"
21532153
},
21542154
{
2155-
"include": "text.html.basic"
2155+
"include": "text.html.derivative"
21562156
},
21572157
{
21582158
"include": "#heading-setext"
@@ -2246,7 +2246,7 @@
22462246
"end": "(?<=>)",
22472247
"patterns": [
22482248
{
2249-
"include": "text.html.basic"
2249+
"include": "text.html.derivative"
22502250
}
22512251
]
22522252
},
@@ -2391,7 +2391,7 @@
23912391
"end": "(?<=>)",
23922392
"patterns": [
23932393
{
2394-
"include": "text.html.basic"
2394+
"include": "text.html.derivative"
23952395
}
23962396
]
23972397
},

0 commit comments

Comments
 (0)