Update md grammar

This commit is contained in:
Matt Bierner 2022-05-03 13:32:15 -07:00
parent f52754b3f3
commit a763e90731
No known key found for this signature in database
GPG key ID: 099C331567E11888
2 changed files with 38 additions and 2 deletions

View file

@ -33,7 +33,7 @@
"git": {
"name": "microsoft/vscode-markdown-tm-grammar",
"repositoryUrl": "https://github.com/microsoft/vscode-markdown-tm-grammar",
"commitHash": "84a1a8e831a74cc263f96e4dc17b7e9ba3f86c80"
"commitHash": "b068fcb2fbfa834e695505bfb02bbcc0b4edab8b"
}
},
"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/84a1a8e831a74cc263f96e4dc17b7e9ba3f86c80",
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/b068fcb2fbfa834e695505bfb02bbcc0b4edab8b",
"name": "Markdown",
"scopeName": "text.html.markdown",
"patterns": [
@ -1319,6 +1319,39 @@
}
]
},
"fenced_code_block_julia": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(julia|\\{\\.julia.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": {
"3": {
"name": "punctuation.definition.markdown"
},
"4": {
"name": "fenced_code.block.language.markdown"
},
"5": {
"name": "fenced_code.block.language.attributes.markdown"
}
},
"endCaptures": {
"3": {
"name": "punctuation.definition.markdown"
}
},
"patterns": [
{
"begin": "(^|\\G)(\\s*)(.*)",
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
"contentName": "meta.embedded.block.julia",
"patterns": [
{
"include": "source.julia"
}
]
}
]
},
"fenced_code_block_regexp_python": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(re)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown",
@ -1963,6 +1996,9 @@
{
"include": "#fenced_code_block_python"
},
{
"include": "#fenced_code_block_julia"
},
{
"include": "#fenced_code_block_regexp_python"
},