[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"
|
next : "githubblock"
|
||||||
}, { // block quote
|
}, { // block quote
|
||||||
token : "string.blockquote",
|
token : "string.blockquote",
|
||||||
regex : "^>[ ].+$",
|
regex : "^\\s*>[ ]",
|
||||||
next : "blockquote"
|
next : "blockquote"
|
||||||
}, { // HR * - _
|
}, { // HR * - _
|
||||||
token : "constant",
|
token : "constant",
|
||||||
|
|
@ -173,8 +173,9 @@ var MarkdownHighlightRules = function() {
|
||||||
regex : "^\\s*$",
|
regex : "^\\s*$",
|
||||||
next : "start"
|
next : "start"
|
||||||
}, {
|
}, {
|
||||||
token : "string",
|
include : "basic", noEscape: true
|
||||||
regex : ".+"
|
}, {
|
||||||
|
defaultToken : "blockquote"
|
||||||
} ],
|
} ],
|
||||||
|
|
||||||
"githubblock" : [ {
|
"githubblock" : [ {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue