Fixed list inside blockquote in ACE syntax highlighter
This commit is contained in:
parent
16169d5382
commit
7880a5c87d
@ -63,7 +63,7 @@ var MarkdownHighlightRules = function() {
|
|||||||
next : "githubblock"
|
next : "githubblock"
|
||||||
}, { // block quote
|
}, { // block quote
|
||||||
token : "blockquote",
|
token : "blockquote",
|
||||||
regex : "^\\s*>[ ]",
|
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
|
||||||
next : "blockquote"
|
next : "blockquote"
|
||||||
}, { // HR * - _
|
}, { // HR * - _
|
||||||
token : "constant",
|
token : "constant",
|
||||||
@ -166,6 +166,10 @@ var MarkdownHighlightRules = function() {
|
|||||||
token : "empty_line",
|
token : "empty_line",
|
||||||
regex : "^\\s*$",
|
regex : "^\\s*$",
|
||||||
next : "start"
|
next : "start"
|
||||||
|
}, { // block quote
|
||||||
|
token : "blockquote",
|
||||||
|
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
|
||||||
|
next : "blockquote"
|
||||||
}, {
|
}, {
|
||||||
include : "basic", noEscape: true
|
include : "basic", noEscape: true
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user