mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
parent
03ce307444
commit
41df0673f8
|
@ -32,7 +32,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "meta.function.math.tex",
|
"name": "meta.function.math.tex",
|
||||||
"begin": "((\\\\)([a-zA-Z_]+))(\\{)",
|
"begin": "((\\\\)([a-zA-Z_]+))\\s*(\\{)",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"1": {
|
"1": {
|
||||||
"name": "storage.type.function.math.tex"
|
"name": "storage.type.function.math.tex"
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
"name": "punctuation.definition.constant.math.tex"
|
"name": "punctuation.definition.constant.math.tex"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"match": "(\\\\)(?!begin\\{|verb)([A-Za-z]+)",
|
"match": "(\\\\)(?!begin\\*\\{|verb)([A-Za-z]+)",
|
||||||
"name": "constant.other.general.math.tex"
|
"name": "constant.other.general.math.tex"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -87,3 +87,11 @@ $$
|
||||||
\end{aligned}
|
\end{aligned}
|
||||||
$$
|
$$
|
||||||
**xyz**
|
**xyz**
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Support both \text{stuff} and \text {stuff} -->
|
||||||
|
|
||||||
|
$$
|
||||||
|
\text{stuff}
|
||||||
|
\text {stuff}
|
||||||
|
$$
|
||||||
|
|
|
@ -4431,5 +4431,181 @@
|
||||||
"light_vs": "markup.bold: #000080",
|
"light_vs": "markup.bold: #000080",
|
||||||
"hc_black": "default: #FFFFFF"
|
"hc_black": "default: #FFFFFF"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "<!--",
|
||||||
|
"t": "text.html.markdown comment.block.html punctuation.definition.comment.html",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "comment: #6A9955",
|
||||||
|
"light_plus": "comment: #008000",
|
||||||
|
"dark_vs": "comment: #6A9955",
|
||||||
|
"light_vs": "comment: #008000",
|
||||||
|
"hc_black": "comment: #7CA668"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " Support both \\text{stuff} and \\text {stuff} ",
|
||||||
|
"t": "text.html.markdown comment.block.html",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "comment: #6A9955",
|
||||||
|
"light_plus": "comment: #008000",
|
||||||
|
"dark_vs": "comment: #6A9955",
|
||||||
|
"light_vs": "comment: #008000",
|
||||||
|
"hc_black": "comment: #7CA668"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "-->",
|
||||||
|
"t": "text.html.markdown comment.block.html punctuation.definition.comment.html",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "comment: #6A9955",
|
||||||
|
"light_plus": "comment: #008000",
|
||||||
|
"dark_vs": "comment: #6A9955",
|
||||||
|
"light_vs": "comment: #008000",
|
||||||
|
"hc_black": "comment: #7CA668"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "$$",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown punctuation.definition.math.begin.markdown",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "\\",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown meta.function.math.tex storage.type.function.math.tex punctuation.definition.function.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "storage.type: #569CD6",
|
||||||
|
"light_plus": "storage.type: #0000FF",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "storage.type: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "text",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown meta.function.math.tex storage.type.function.math.tex entity.name.function.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "entity.name.function: #DCDCAA",
|
||||||
|
"light_plus": "entity.name.function: #795E26",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "{",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown meta.function.math.tex punctuation.definition.arguments.begin.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "stuff",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown meta.function.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "}",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown meta.function.math.tex punctuation.definition.arguments.end.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "\\",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown constant.character.math.tex punctuation.definition.constant.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.character: #569CD6",
|
||||||
|
"light_plus": "constant.character: #0000FF",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "constant.character: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "text",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown constant.character.math.tex",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.character: #569CD6",
|
||||||
|
"light_plus": "constant.character: #0000FF",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "constant.character: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "{",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown punctuation.math.begin.bracket.curly",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "stuff",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "}",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown meta.embedded.math.markdown punctuation.math.end.bracket.curly",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded: #D4D4D4",
|
||||||
|
"light_plus": "meta.embedded: #000000",
|
||||||
|
"dark_vs": "meta.embedded: #D4D4D4",
|
||||||
|
"light_vs": "meta.embedded: #000000",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "$$",
|
||||||
|
"t": "text.html.markdown markup.math.block.markdown punctuation.definition.math.end.markdown",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
Reference in a new issue