mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Use latex as language mode inside markdown math blocks
Fixes #142022 We added simple latex language support recently, so use this instead of our old `markdown-math` language
This commit is contained in:
parent
870ab1e647
commit
7987c49a08
|
@ -1,56 +0,0 @@
|
|||
{
|
||||
"comments": {
|
||||
"lineComment": "%"
|
||||
},
|
||||
// symbols used as brackets
|
||||
"brackets": [
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
]
|
||||
],
|
||||
"autoClosingPairs": [
|
||||
{
|
||||
"open": "{",
|
||||
"close": "}"
|
||||
},
|
||||
{
|
||||
"open": "[",
|
||||
"close": "]"
|
||||
},
|
||||
{
|
||||
"open": "(",
|
||||
"close": ")"
|
||||
}
|
||||
],
|
||||
"surroundingPairs": [
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"'",
|
||||
"'"
|
||||
],
|
||||
[
|
||||
"\"",
|
||||
"\""
|
||||
]
|
||||
]
|
||||
}
|
|
@ -26,8 +26,7 @@
|
|||
"languages": [
|
||||
{
|
||||
"id": "markdown-math",
|
||||
"aliases": [],
|
||||
"configuration": "./language-configuration.json"
|
||||
"aliases": []
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
|
@ -43,7 +42,7 @@
|
|||
"text.html.markdown"
|
||||
],
|
||||
"embeddedLanguages": {
|
||||
"meta.embedded.math.markdown": "markdown-math"
|
||||
"meta.embedded.math.markdown": "latex"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -53,7 +52,7 @@
|
|||
"text.html.markdown"
|
||||
],
|
||||
"embeddedLanguages": {
|
||||
"meta.embedded.math.markdown": "markdown-math"
|
||||
"meta.embedded.math.markdown": "latex"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue