Update grammars

This commit is contained in:
Alex Ross
2022-05-02 11:18:54 +02:00
parent 85e3f0d973
commit f3b1b53443
14 changed files with 116 additions and 44 deletions

View File

@@ -33,7 +33,7 @@
"git": {
"name": "microsoft/vscode-markdown-tm-grammar",
"repositoryUrl": "https://github.com/microsoft/vscode-markdown-tm-grammar",
"commitHash": "df4829558048663156abcc4235619c773335445e"
"commitHash": "84a1a8e831a74cc263f96e4dc17b7e9ba3f86c80"
}
},
"license": "MIT",

View File

@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/df4829558048663156abcc4235619c773335445e",
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/84a1a8e831a74cc263f96e4dc17b7e9ba3f86c80",
"name": "Markdown",
"scopeName": "text.html.markdown",
"patterns": [
@@ -957,7 +957,7 @@
]
},
"fenced_code_block_js": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|dataviewjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": {