[Markdown highlighting] Fixed list inside blockquotes
This commit is contained in:
parent
c2fb30b313
commit
a50c0a27b9
1 changed files with 5 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ var MarkdownHighlightRules = function() {
|
|||
next : "githubblock"
|
||||
}, { // block quote
|
||||
token : "string.blockquote",
|
||||
regex : "^\\s*>[ ]",
|
||||
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
|
||||
next : "blockquote"
|
||||
}, { // HR * - _
|
||||
token : "constant",
|
||||
|
|
@ -172,6 +172,10 @@ var MarkdownHighlightRules = function() {
|
|||
token : "empty_line",
|
||||
regex : "^\\s*$",
|
||||
next : "start"
|
||||
}, { // block quote
|
||||
token : "string.blockquote",
|
||||
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
|
||||
next : "blockquote"
|
||||
}, {
|
||||
include : "basic", noEscape: true
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue