[markdown mode] recognize escapes

fixes #1434
This commit is contained in:
nightwing 2013-05-18 11:02:09 +04:00
commit 4e3506244b

View file

@ -52,7 +52,10 @@ var MarkdownHighlightRules = function() {
// regexps are ordered -> the first match is used
this.$rules = {
"basic" : [{ // code span `
"basic" : [{
token : "constant.language.escape",
regex : /\\[\\`*_{}\[\]()#+\-.!]/
}, { // code span `
token : "support.function",
regex : "(`+)(.*?[^`])(\\1)"
}, { // reference