mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Make sure inline math is marked as markdown-math
For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
"repository": {
|
||||
"math_inline": {
|
||||
"name": "markup.math.inline.markdown",
|
||||
"contentName": "meta.embedded.math.markdown",
|
||||
"match": "(?<=\\s|^)(\\${1,2})(.+?)(\\${1,2})(?=\\s|$)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.math.begin.markdown"
|
||||
},
|
||||
"2": {
|
||||
"name": "meta.embedded.math.markdown",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "text.html.markdown.math#math"
|
||||
|
||||
Reference in New Issue
Block a user