use markup.heading for # and heading for the defaultToken

fixes #1457
This commit is contained in:
nightwing 2013-06-08 18:34:42 +04:00
commit 186e6b1b86
14 changed files with 21 additions and 21 deletions

View file

@ -140,7 +140,7 @@ var MarkdownHighlightRules = function() {
}, { }, {
include: "basic" include: "basic"
}, { }, {
defaultToken : "markup.heading" defaultToken : "heading"
} ], } ],
"listblock-start" : [{ "listblock-start" : [{
@ -160,7 +160,7 @@ var MarkdownHighlightRules = function() {
}, { }, {
include : "basic", noEscape: true include : "basic", noEscape: true
}, { }, {
defaultToken : "markup.list" defaultToken : "list"
} ], } ],
"blockquote" : [ { // BLockquotes only escape on blank lines. "blockquote" : [ { // BLockquotes only escape on blank lines.

View file

@ -97,11 +97,11 @@
} }
.ace-chrome .ace_markup.ace_heading { .ace-chrome .ace_heading {
color: rgb(12, 7, 255); color: rgb(12, 7, 255);
} }
.ace-chrome .ace_markup.ace_list { .ace-chrome .ace_list {
color:rgb(185, 6, 144); color:rgb(185, 6, 144);
} }

View file

@ -123,12 +123,12 @@
color: #9EFFFF color: #9EFFFF
} }
.ace-cobalt .ace_markup.ace_heading { .ace-cobalt .ace_heading {
color: #C8E4FD; color: #C8E4FD;
background-color: #001221 background-color: #001221
} }
.ace-cobalt .ace_markup.ace_list { .ace-cobalt .ace_list {
background-color: #130D26 background-color: #130D26
} }

View file

@ -94,7 +94,7 @@
border-color: #080808 border-color: #080808
} }
.ace-dawn .ace_markup.ace_list, .ace-dawn .ace_list,
.ace-dawn .ace_support.ace_function { .ace-dawn .ace_support.ace_function {
color: #693A17 color: #693A17
} }
@ -121,7 +121,7 @@
color: #234A97 color: #234A97
} }
.ace-dawn .ace_markup.ace_heading { .ace-dawn .ace_heading {
color: #19356D color: #19356D
} }

View file

@ -105,11 +105,11 @@
} }
.ace-dreamweaver .ace_markup.ace_heading { .ace-dreamweaver .ace_heading {
color: rgb(12, 7, 255); color: rgb(12, 7, 255);
} }
.ace-dreamweaver .ace_markup.ace_list { .ace-dreamweaver .ace_list {
color:rgb(185, 6, 144); color:rgb(185, 6, 144);
} }

View file

@ -119,7 +119,7 @@
color: #BABD9C color: #BABD9C
} }
.ace-kr-theme .ace_markup.ace_list { .ace-kr-theme .ace_list {
background-color: #0F0040 background-color: #0F0040
} }

View file

@ -115,7 +115,7 @@
color: #E7C547 color: #E7C547
} }
.ace-terminal-theme .ace_markup.ace_heading, .ace-terminal-theme .ace_heading,
.ace-terminal-theme .ace_string { .ace-terminal-theme .ace_string {
color: #B9CA4A color: #B9CA4A
} }

View file

@ -105,11 +105,11 @@
} }
.ace-tm .ace_markup.ace_heading { .ace-tm .ace_heading {
color: rgb(12, 7, 255); color: rgb(12, 7, 255);
} }
.ace-tm .ace_markup.ace_list { .ace-tm .ace_list {
color:rgb(185, 6, 144); color:rgb(185, 6, 144);
} }

View file

@ -108,7 +108,7 @@
color: #C99E00 color: #C99E00
} }
.ace-tomorrow .ace_markup.ace_heading, .ace-tomorrow .ace_heading,
.ace-tomorrow .ace_string { .ace-tomorrow .ace_string {
color: #718C00 color: #718C00
} }

View file

@ -107,7 +107,7 @@
color: #F0C674 color: #F0C674
} }
.ace-tomorrow-night .ace_markup.ace_heading, .ace-tomorrow-night .ace_heading,
.ace-tomorrow-night .ace_string { .ace-tomorrow-night .ace_string {
color: #B5BD68 color: #B5BD68
} }

View file

@ -107,7 +107,7 @@
color: #FFEEAD color: #FFEEAD
} }
.ace-tomorrow-night-blue .ace_markup.ace_heading, .ace-tomorrow-night-blue .ace_heading,
.ace-tomorrow-night-blue .ace_string { .ace-tomorrow-night-blue .ace_string {
color: #D1F1A9 color: #D1F1A9
} }

View file

@ -107,7 +107,7 @@
color: #E7C547 color: #E7C547
} }
.ace-tomorrow-night-bright .ace_markup.ace_heading, .ace-tomorrow-night-bright .ace_heading,
.ace-tomorrow-night-bright .ace_string { .ace-tomorrow-night-bright .ace_string {
color: #B9CA4A color: #B9CA4A
} }

View file

@ -107,7 +107,7 @@
color: #FFCC66 color: #FFCC66
} }
.ace-tomorrow-night-eighties .ace_markup.ace_heading, .ace-tomorrow-night-eighties .ace_heading,
.ace-tomorrow-night-eighties .ace_string { .ace-tomorrow-night-eighties .ace_string {
color: #99CC99 color: #99CC99
} }

View file

@ -65,7 +65,7 @@
.ace-twilight .ace_constant.ace_character, .ace-twilight .ace_constant.ace_character,
.ace-twilight .ace_constant.ace_character.ace_escape, .ace-twilight .ace_constant.ace_character.ace_escape,
.ace-twilight .ace_constant.ace_other, .ace-twilight .ace_constant.ace_other,
.ace-twilight .ace_markup.ace_heading, .ace-twilight .ace_heading,
.ace-twilight .ace_support.ace_constant { .ace-twilight .ace_support.ace_constant {
color: #CF6A4C color: #CF6A4C
} }
@ -94,7 +94,7 @@
color: #DAD085 color: #DAD085
} }
.ace-twilight .ace_markup.ace_list, .ace-twilight .ace_list,
.ace-twilight .ace_storage { .ace-twilight .ace_storage {
color: #F9EE98 color: #F9EE98
} }