Skip to content

Commit

Permalink
πŸ’„ #346 no longer require $$ to be end of a line
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang-gh committed Sep 20, 2020
1 parent 1ddf061 commit 9539872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/math_display.markdown.tmLanguage.json
Expand Up @@ -10,7 +10,7 @@
"math-display": {
"name": "markup.inserted.math.display.markdown",
"begin": "(^|\\G)([ ]{0,3})((?<![^\\\\]\\\\)\\$\\$(?!\\$))",
"end": "(?<![^\\\\]\\\\)(?<![^\\\\]\\$)(\\$\\$)([\\s]*)$",
"end": "(?<![^\\\\]\\\\)(?<![^\\\\]\\$)(\\$\\$)([\\s]*)",
"beginCaptures": {
"0": {
"name": "punctuation.definition.math.display.markdown"
Expand All @@ -30,4 +30,4 @@
}
},
"scopeName": "markdown.math_display"
}
}

0 comments on commit 9539872

Please sign in to comment.