Update math fixture

This commit is contained in:
Matt Bierner
2021-08-05 14:00:36 -07:00
parent ab598a53ab
commit a4eb4d6884
2 changed files with 78 additions and 78 deletions

View File

@@ -3,18 +3,18 @@
"injectionSelector": "L:text.html.markdown - (comment, string, meta.paragraph.markdown, markup.math.block.markdown, markup.fenced_code.block.markdown)",
"patterns": [
{
"include": "#double_quote_math_block"
"include": "#double_dollar_math_block"
},
{
"include": "#single_math_block"
"include": "#single_dollar_math_block"
}
],
"repository": {
"double_quote_math_block": {
"double_dollar_math_block": {
"name": "markup.math.block.markdown",
"begin": "(?<=(^|\\G)\\s*)(\\${2})(?=\\s*$)",
"beginCaptures": {
"1": {
"2": {
"name": "punctuation.definition.math.begin.markdown"
}
},
@@ -37,15 +37,15 @@
}
]
},
"single_quote_math_block": {
"single_dollar_math_block": {
"name": "markup.math.block.markdown",
"begin": "(?<=(^|\\G)\\s*)(\\$)(?=\\s*$)",
"begin": "(?<=(^|\\G)\\s*)(\\${1})(?=\\s*$)",
"beginCaptures": {
"1": {
"2": {
"name": "punctuation.definition.math.begin.markdown"
}
},
"end": "(\\$)",
"end": "(\\${1})",
"endCaptures": {
"1": {
"name": "punctuation.definition.math.end.markdown"
@@ -54,7 +54,7 @@
"patterns": [
{
"begin": "(^|\\G)(\\s*)(.*)",
"while": "(^|\\G)(?!.*(\\$))",
"while": "(^|\\G)(?!.*(\\${1}))",
"contentName": "meta.embedded.math.markdown",
"patterns": [
{