Merge pr/1692 into master

This commit is contained in:
nightwing 2013-11-24 16:33:35 +04:00
commit e70f0773df

View file

@ -83,7 +83,7 @@ var MarkdownHighlightRules = function() {
next : "githubblock"
}, { // block quote
token : "string.blockquote",
regex : "^>[ ].+$",
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
next : "blockquote"
}, { // HR * - _
token : "constant",
@ -165,16 +165,21 @@ var MarkdownHighlightRules = function() {
}, {
include : "basic", noEscape: true
}, {
defaultToken : "list"
defaultToken : "list" //do not use markup.list to allow stling leading `*` differntly
} ],
"blockquote" : [ { // BLockquotes only escape on blank lines.
token : "empty_line",
regex : "^\\s*$",
next : "start"
}, { // block quote
token : "string.blockquote",
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
next : "blockquote"
}, {
token : "string",
regex : ".+"
include : "basic", noEscape: true
}, {
defaultToken : "string.blockquote"
} ],
"githubblock" : [ {