diff --git a/public/res/libs/ace_mode_highlight_rules.js b/public/res/libs/ace_mode_highlight_rules.js index 36bddb39..e6fc4c9d 100644 --- a/public/res/libs/ace_mode_highlight_rules.js +++ b/public/res/libs/ace_mode_highlight_rules.js @@ -63,7 +63,7 @@ var MarkdownHighlightRules = function() { next : "githubblock" }, { // block quote token : "blockquote", - regex : "^\\s*>[ ].+$", + regex : "^\\s*>[ ]", next : "blockquote" }, { // HR * - _ token : "constant", @@ -73,6 +73,9 @@ var MarkdownHighlightRules = function() { token : "markup.list", regex : "^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+", next : "listblock-start" + }, { // Escaped $ + token : "text", + regex : "\\\\\\$", }, { // Math inline token : ["constant.language.escape", "keyword", "constant.language.escape"], regex : "(\\$)(.*)(\\$)" @@ -164,8 +167,9 @@ var MarkdownHighlightRules = function() { regex : "^\\s*$", next : "start" }, { - token : "blockquote", - regex : ".+" + include : "basic", noEscape: true + }, { + defaultToken : "blockquote" } ], "githubblock" : [ { diff --git a/public/res/styles/main.less b/public/res/styles/main.less index 342eb096..6fda87e1 100644 --- a/public/res/styles/main.less +++ b/public/res/styles/main.less @@ -1038,7 +1038,6 @@ ul,ol { .ace_blockquote { color: @primary-color-lightest; - font-style: italic; } .ace_code { @@ -1050,6 +1049,11 @@ ul,ol { color: @primary-color; } + .ace_link { + color: @primary-color; + background-color: @code-bg; + } + .ace_description { color: @primary-color-lightest; }