mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-28 13:46:17 +00:00
Pick up new md grammar (#156844)
Also updates themes to better handle https://github.com/microsoft/vscode-markdown-tm-grammar/issues/4
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
"git": {
|
||||
"name": "microsoft/vscode-markdown-tm-grammar",
|
||||
"repositoryUrl": "https://github.com/microsoft/vscode-markdown-tm-grammar",
|
||||
"commitHash": "69d3321b4923ca2d5e8e900018887cc38b5fe04a"
|
||||
"commitHash": "97f2f8d38f10d3febd77d85b745945dc60fe334e"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
||||
@@ -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/69d3321b4923ca2d5e8e900018887cc38b5fe04a",
|
||||
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/97f2f8d38f10d3febd77d85b745945dc60fe334e",
|
||||
"name": "Markdown",
|
||||
"scopeName": "text.html.markdown",
|
||||
"patterns": [
|
||||
@@ -2766,7 +2766,24 @@
|
||||
"name": "punctuation.definition.link.title.begin.markdown"
|
||||
},
|
||||
"2": {
|
||||
"name": "string.other.link.title.markdown"
|
||||
"name": "string.other.link.title.markdown",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#raw"
|
||||
},
|
||||
{
|
||||
"include": "#bold"
|
||||
},
|
||||
{
|
||||
"include": "#italic"
|
||||
},
|
||||
{
|
||||
"include": "#strikethrough"
|
||||
},
|
||||
{
|
||||
"include": "#image-inline"
|
||||
}
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"name": "punctuation.definition.link.title.end.markdown"
|
||||
@@ -2826,7 +2843,24 @@
|
||||
"name": "punctuation.definition.link.title.begin.markdown"
|
||||
},
|
||||
"2": {
|
||||
"name": "string.other.link.title.markdown"
|
||||
"name": "string.other.link.title.markdown",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#raw"
|
||||
},
|
||||
{
|
||||
"include": "#bold"
|
||||
},
|
||||
{
|
||||
"include": "#italic"
|
||||
},
|
||||
{
|
||||
"include": "#strikethrough"
|
||||
},
|
||||
{
|
||||
"include": "#image-inline"
|
||||
}
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"name": "punctuation.definition.link.title.end.markdown"
|
||||
@@ -2957,7 +2991,7 @@
|
||||
"name": "punctuation.definition.strikethrough.markdown"
|
||||
}
|
||||
},
|
||||
"match": "(~{2,})((?:[^~]|(?!(?<!~)\\1(?!~))~)*+)(\\1)",
|
||||
"match": "(?<!\\\\)(~{2,})((?:[^~]|(?!(?<![~\\\\])\\1(?!~))~)*+)(\\1)",
|
||||
"name": "markup.strikethrough.markdown"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": ["meta.embedded", "source.groovy.embedded"],
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#6688cc"
|
||||
}
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#D4D4D4"
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#FFFFFF"
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#000000ff"
|
||||
|
||||
@@ -60,7 +60,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": ["meta.embedded", "source.groovy.embedded"],
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#d3af86"
|
||||
}
|
||||
|
||||
@@ -110,7 +110,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#F8F8F2"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#333333"
|
||||
|
||||
@@ -69,7 +69,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#F8F8F8"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#839496"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
"source.groovy.embedded",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#657B83"
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
"editor.foreground": "#ffffff",
|
||||
"editor.selectionBackground": "#003f8e",
|
||||
"minimap.selectionHighlight": "#003f8e",
|
||||
"editor.lineHighlightBackground": "#00346e",
|
||||
"editorLineNumber.activeForeground": "#949494",
|
||||
"editor.lineHighlightBackground": "#00346e",
|
||||
"editorLineNumber.activeForeground": "#949494",
|
||||
"editorCursor.foreground": "#ffffff",
|
||||
"editorWhitespace.foreground": "#404f7d",
|
||||
"editorWidget.background": "#001c40",
|
||||
@@ -65,7 +65,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": ["meta.embedded", "source.groovy.embedded", "meta.jsx.children"],
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded",
|
||||
"meta.jsx.children",
|
||||
"string meta.image.inline.markdown"
|
||||
],
|
||||
"settings": {
|
||||
//"background": "#002451",
|
||||
"foreground": "#FFFFFF"
|
||||
|
||||
Reference in New Issue
Block a user