File tree Expand file tree Collapse file tree 2 files changed +57
-94
lines changed Expand file tree Collapse file tree 2 files changed +57
-94
lines changed Original file line number Diff line number Diff line change 2121 "dependencies" : {
2222 "commander" : " ~2.1.0" ,
2323 "debug" : " ^2.1.1" ,
24- "highlight.js" : " ~7.3 .0" ,
24+ "highlight.js" : " ~9.0 .0" ,
2525 "js-yaml" : " 2.1.0" ,
2626 "marked" : " ~0.2.9" ,
2727 "mustache" : " 0.7.0" ,
Original file line number Diff line number Diff line change 11/*
2- github.com style (c) Vasily Polovnyov <vast@whiteants.net>
3- */
42
5- code , pre {
6- border : 1px solid # ddd ;
7- border-radius : 3px ;
8- overflow : auto;
9- padding : 6px 10px ;
10- }
3+ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
114
12- code {
13- padding : 0 5px ;
14- }
5+ */
156
16- pre > code {
17- margin : 0 ; padding : 0 ;
18- border : none;
19- background : transparent;
7+ .hljs {
8+ display : block;
9+ overflow-x : auto;
10+ padding : 0.5em ;
11+ color : # 333 ;
12+ background : # f8f8f8 ;
2013}
2114
22- pre .comment ,
23- pre .template_comment ,
24- pre .diff .header ,
25- pre .javadoc {
15+ .hljs-comment ,
16+ .hljs-quote {
2617 color : # 998 ;
27- font-style : italic
18+ font-style : italic;
2819}
2920
30- pre .keyword ,
31- pre .css .rule .keyword ,
32- pre .winutils ,
33- pre .javascript .title ,
34- pre .nginx .title ,
35- pre .subst ,
36- pre .request ,
37- pre .status {
21+ .hljs-keyword ,
22+ .hljs-selector-tag ,
23+ .hljs-subst {
3824 color : # 333 ;
39- font-weight : bold
25+ font-weight : bold;
4026}
4127
42- pre .number ,
43- pre .hexcolor ,
44- pre .ruby .constant {
45- color : # 099 ;
28+ .hljs-number ,
29+ .hljs-literal ,
30+ .hljs-variable ,
31+ .hljs-template-variable ,
32+ .hljs-tag .hljs-attr {
33+ color : # 008080 ;
4634}
4735
48- pre .string ,
49- pre .tag .value ,
50- pre .phpdoc ,
51- pre .tex .formula {
52- color : # d14
36+ .hljs-string ,
37+ .hljs-doctag {
38+ color : # d14 ;
5339}
5440
55- pre .title ,
56- pre .id {
41+ .hljs-title ,
42+ .hljs-section ,
43+ .hljs-selector-id {
5744 color : # 900 ;
58- font-weight : bold
45+ font-weight : bold;
5946}
6047
61- pre .javascript .title ,
62- pre .lisp .title ,
63- pre .clojure .title ,
64- pre .subst {
65- font-weight : normal
48+ .hljs-subst {
49+ font-weight : normal;
6650}
6751
68- pre .class .title ,
69- pre .haskell .type ,
70- pre .vhdl .literal ,
71- pre .tex .command {
52+ .hljs-type ,
53+ .hljs-class .hljs-title {
7254 color : # 458 ;
73- font-weight : bold
55+ font-weight : bold;
7456}
7557
76- pre .tag ,
77- pre .tag .title ,
78- pre .rules .property ,
79- pre .django .tag .keyword {
58+ .hljs-tag ,
59+ .hljs-name ,
60+ .hljs-attribute {
8061 color : # 000080 ;
81- font-weight : normal
82- }
83-
84- pre .attribute ,
85- pre .variable ,
86- pre .lisp .body {
87- color : # 008080
62+ font-weight : normal;
8863}
8964
90- pre .regexp {
91- color : # 009926
92- }
93-
94- pre .class {
95- color : # 458 ;
96- font-weight : bold
65+ .hljs-regexp ,
66+ .hljs-link {
67+ color : # 009926 ;
9768}
9869
99- pre .symbol ,
100- pre .ruby .symbol .string ,
101- pre .lisp .keyword ,
102- pre .tex .special ,
103- pre .prompt {
104- color : # 990073
70+ .hljs-symbol ,
71+ .hljs-bullet {
72+ color : # 990073 ;
10573}
10674
107- pre .built_in ,
108- pre .lisp .title ,
109- pre .clojure .built_in {
110- color : # 0086b3
75+ .hljs-built_in ,
76+ .hljs-builtin-name {
77+ color : # 0086b3 ;
11178}
11279
113- pre .preprocessor ,
114- pre .pi ,
115- pre .doctype ,
116- pre .shebang ,
117- pre .cdata {
80+ .hljs-meta {
11881 color : # 999 ;
119- font-weight : bold
82+ font-weight : bold;
12083}
12184
122- pre . deletion {
123- background : # fdd
85+ . hljs- deletion {
86+ background : # fdd;
12487}
12588
126- pre . addition {
127- background : # dfd
89+ . hljs- addition {
90+ background : # dfd;
12891}
12992
130- pre . diff . change {
131- background : # 0086b3
93+ . hljs-emphasis {
94+ font-style : italic;
13295}
13396
134- pre . chunk {
135- color : # aaa
97+ . hljs-strong {
98+ font-weight : bold;
13699}
You can’t perform that action at this time.
0 commit comments