Make sure inline math is marked as markdown-math

For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
This commit is contained in:
Matt Bierner
2021-10-20 14:22:44 -07:00
parent 3dc7b03ff9
commit c38d441d37
2 changed files with 37 additions and 37 deletions

View File

@@ -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"