[Markdown highlighting] Parse basic rules in blockquotes
This commit is contained in:
parent
a7798c4497
commit
c2fb30b313
1 changed files with 4 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ var MarkdownHighlightRules = function() {
|
|||
next : "githubblock"
|
||||
}, { // block quote
|
||||
token : "string.blockquote",
|
||||
regex : "^>[ ].+$",
|
||||
regex : "^\\s*>[ ]",
|
||||
next : "blockquote"
|
||||
}, { // HR * - _
|
||||
token : "constant",
|
||||
|
|
@ -173,8 +173,9 @@ var MarkdownHighlightRules = function() {
|
|||
regex : "^\\s*$",
|
||||
next : "start"
|
||||
}, {
|
||||
token : "string",
|
||||
regex : ".+"
|
||||
include : "basic", noEscape: true
|
||||
}, {
|
||||
defaultToken : "blockquote"
|
||||
} ],
|
||||
|
||||
"githubblock" : [ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue