solorice/vscode/extensions/yzhang.markdown-all-in-one-3.5.0/syntaxes/math_display.markdown.tmLanguage.json
2022-04-28 20:54:44 +03:00

34 lines
741 B
JSON

{
"fileTypes": [],
"injectionSelector": "L:(text.html.markdown - meta - comment.block - markup.raw)",
"patterns": [
{
"include": "#math-display"
}
],
"repository": {
"math-display": {
"name": "markup.inserted.math.display.markdown",
"begin": "(^|\\G)([ ]{0,3})((?<![^\\\\]\\\\)\\$\\$(?!\\$))",
"end": "(?<![^\\\\]\\\\)(?<![^\\\\]\\$)(\\$\\$)([\\s]*)",
"beginCaptures": {
"0": {
"name": "punctuation.definition.math.display.markdown"
}
},
"endCaptures": {
"0": {
"name": "punctuation.definition.math.display.markdown"
}
},
"contentName": "meta.embedded.block.katex",
"patterns": [
{
"include": "text.katex"
}
]
}
},
"scopeName": "markdown.math_display"
}