mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-26 13:19:42 +00:00
Update markdown grammar
This commit is contained in:
@@ -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/935f7a6d1da73e16231be18c545d7991d3698075",
|
||||
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/3445afdd642f67052a21c0f86bf76b3deb45fd26",
|
||||
"name": "Markdown",
|
||||
"scopeName": "text.html.markdown",
|
||||
"patterns": [
|
||||
@@ -1986,7 +1986,7 @@
|
||||
"include": "#list_paragraph"
|
||||
}
|
||||
],
|
||||
"while": "((^|\\G)([ ]{4}|\\t))|(^[ \\t]*$)"
|
||||
"while": "((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)"
|
||||
},
|
||||
{
|
||||
"begin": "(^|\\G)([ ]{0,3})([0-9]+\\.)([ ]{1,3}|\\t)",
|
||||
@@ -2004,7 +2004,7 @@
|
||||
"include": "#list_paragraph"
|
||||
}
|
||||
],
|
||||
"while": "((^|\\G)([ ]{4}|\\t))|(^[ \\t]*$)"
|
||||
"while": "((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2343,32 +2343,32 @@
|
||||
"7": {
|
||||
"name": "markup.underline.link.markdown"
|
||||
},
|
||||
"8": {
|
||||
"9": {
|
||||
"name": "punctuation.definition.link.markdown"
|
||||
},
|
||||
"9": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"10": {
|
||||
"name": "punctuation.definition.string.begin.markdown"
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"11": {
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
},
|
||||
"12": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"13": {
|
||||
"name": "punctuation.definition.string.begin.markdown"
|
||||
},
|
||||
"14": {
|
||||
"12": {
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
},
|
||||
"13": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"14": {
|
||||
"name": "punctuation.definition.string.begin.markdown"
|
||||
},
|
||||
"15": {
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
},
|
||||
"16": {
|
||||
"name": "punctuation.definition.metadata.markdown"
|
||||
}
|
||||
},
|
||||
"match": "(?x)\n (\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)(.*?)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
||||
"match": "(?x)\n (\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)((?<url>[^\\s()]+|\\(\\g<url>*\\))*)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
||||
"name": "meta.link.inline.markdown"
|
||||
},
|
||||
"link-ref": {
|
||||
|
||||
Reference in New Issue
Block a user