mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
@@ -4,6 +4,9 @@
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#math_inline"
|
||||
},
|
||||
{
|
||||
"include": "#math_inline_block"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
@@ -26,6 +29,27 @@
|
||||
"name": "punctuation.definition.math.begin.markdown"
|
||||
}
|
||||
}
|
||||
},
|
||||
"math_inline_block": {
|
||||
"name": "markup.math.inline.markdown",
|
||||
"contentName": "meta.embedded.math.markdown",
|
||||
"begin": "(?<=\\s|^)(\\${2})",
|
||||
"beginCaptures": {
|
||||
"2": {
|
||||
"name": "punctuation.definition.math.begin.markdown"
|
||||
}
|
||||
},
|
||||
"end": "(\\${2})(?=\\s|$)",
|
||||
"endCaptures": {
|
||||
"2": {
|
||||
"name": "punctuation.definition.math.end.markdown"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "text.html.markdown.math#math"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scopeName": "markdown.math.inline"
|
||||
|
||||
Reference in New Issue
Block a user