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` languagepull/142094/head
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 New Issue