Fix highlighting of dollar amount at start of line in md files

Fixes #136535
This commit is contained in:
Matt Bierner
2021-11-08 17:53:52 -08:00
parent 0eee604f01
commit b614fb5db8
3 changed files with 77 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
"single_dollar_math_block": {
"name": "markup.math.block.markdown",
"contentName": "meta.embedded.math.markdown",
"begin": "(?<=^\\s*)(\\${1})(?![^$]*\\${1})",
"begin": "(?<=^\\s*)(\\$)(?![^$]*\\$|\\d)",
"beginCaptures": {
"1": {
"name": "punctuation.definition.math.begin.markdown"