File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ add-highlighter shared/latex/content default-region group
4040# This is so that $$math$$ get matched properly.
4141add-highlighter shared/latex/dollar-math region ' (?<!\\)(?:\\\\)*\K\$[^$]' ' (?<!\\)(\\\\)*\$' fill meta
4242add-highlighter shared/latex/ddollar-math region ' (?<!\\)(?:\\\\)*\K\$\$' ' (?<!\\)(\\\\)*\$\$' fill meta
43- add-highlighter shared/latex/bracket-math region ' (?<!\\)(?:\\\\)*\K\\\[' ' \\\]' fill meta
44- add-highlighter shared/latex/paren-math region ' (?<!\\)(?:\\\\)*\K\\\(' ' \\\)' fill meta
43+ add-highlighter shared/latex/bracket-math region ' (?<!\\)(?:\\\\)*\K\\\[' ' (?<!\\)(\\\\)* \\\]' fill meta
44+ add-highlighter shared/latex/paren-math region ' (?<!\\)(?:\\\\)*\K\\\(' ' (?<!\\)(\\\\)* \\\)' fill meta
4545
4646# Region for control sequence (includes latex2e arguments and options)
4747# starting with unescaped \ and ending :
You can’t perform that action at this time.
0 commit comments