Fixed 1851 latex delimiter in ACE syntax highlighter
This commit is contained in:
parent
3f042515ff
commit
d8bfb94cbd
@ -76,13 +76,13 @@ var MarkdownHighlightRules = function() {
|
||||
}, { // Escaped $
|
||||
token : "text",
|
||||
regex : "\\\\\\$",
|
||||
}, { // Math inline
|
||||
token : ["constant.language.escape", "keyword", "constant.language.escape"],
|
||||
regex : "(\\$)(.*)(\\$)"
|
||||
}, { // Math block
|
||||
token : "constant.language.escape",
|
||||
regex : "\\$\\$|\\\\\\\\\\[|\\\\\\\\\\\\\\\\\\(",
|
||||
next : "mathblock"
|
||||
}, { // Math inline
|
||||
token : ["constant.language.escape", "keyword", "constant.language.escape"],
|
||||
regex : "(\\$)(.*)(\\$)"
|
||||
}, { // LaTeX block
|
||||
token : ["keyword", "text"],
|
||||
regex : "(\\\\?\\\\begin)(\\{[a-z]*\\*?\\})",
|
||||
|
Loading…
Reference in New Issue
Block a user